summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorGuenter Roeck <guenter.roeck@ericsson.com>2011-03-15 03:54:25 +0300
committerGuenter Roeck <guenter.roeck@ericsson.com>2011-04-19 19:49:56 +0400
commit3b17857dfbcb698c2dd0b4c38775ab04cf643d1a (patch)
treeb6a8ed5ac467fb432990ac924a5ba3696de929eb /drivers/hwmon
parentc3a2f0ad4917c678fcd828f16102518c33d8393c (diff)
downloadlinux-3b17857dfbcb698c2dd0b4c38775ab04cf643d1a.tar.xz
hwmon: (pmbus) Removed unused variable from struct pmbus_data
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>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/pmbus_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus_core.c b/drivers/hwmon/pmbus_core.c
index edfb92e41735..196ffafafd88 100644
--- 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;