[lm-sensors] [PATCH 1/7] hwmon: (pmbus) Removed unused variable from struct pmbus_data

Guenter Roeck guenter.roeck at ericsson.com
Thu Apr 7 01:41:29 CEST 2011


struct pmbus_data included an unused variable named status_bits.
Remove it.

Signed-off-by: Guenter Roeck <guenter.roeck at ericsson.com>
Reviewed-by: Tom Grennan <tom.grennan at ericsson.com>
---
 drivers/hwmon/pmbus_core.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/hwmon/pmbus_core.c b/drivers/hwmon/pmbus_core.c
index edfb92e..196ffaf 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;
-- 
1.7.3.1





More information about the lm-sensors mailing list