OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a2f0a
)
hwmon: (pmbus) Removed unused variable from struct pmbus_data
author
Guenter Roeck
<guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 00:54:25 +0000
(17:54 -0700)
committer
Guenter Roeck
<guenter.roeck@ericsson.com>
Tue, 19 Apr 2011 15:49:56 +0000
(08:49 -0700)
struct pmbus_data included an unused variable named status_bits.
Remove it.
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Reviewed-by: Tom Grennan <tom.grennan@ericsson.com>
drivers/hwmon/pmbus_core.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/pmbus_core.c
b/drivers/hwmon/pmbus_core.c
index
edfb92e
..
196ffaf
100644
(file)
--- a/
drivers/hwmon/pmbus_core.c
+++ b/
drivers/hwmon/pmbus_core.c
@@
-139,7
+139,6
@@
struct pmbus_data {
* A single status register covers multiple attributes,
* so we keep them all together.
*/
- u8 status_bits;
u8 status[PB_NUM_STATUS_REG];
u8 currpage;