]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
hwmon: (pmbus) Removed unused variable from struct pmbus_data
authorGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 00:54:25 +0000 (17:54 -0700)
committerGuenter 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

index edfb92e41735df7f713a2283a12a299e764423ca..196ffafafd88ff3cebf37de7bae8d37494d2dc34 100644 (file)
@@ -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;