hwmon: (w83627ehf) Remove set but not used variable 'fan4min'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 8 Jan 2020 03:45:14 +0000 (03:45 +0000)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 23 Jan 2020 21:15:10 +0000 (13:15 -0800)
commit392923715d8b0bbb7e72567fd4090e92bd5a9a3b
tree728b1a92998bf3a18d595b3194f76af73546c3e7
parent5b46903d8bf372e563bf2150d46b87fff197a109
hwmon: (w83627ehf) Remove set but not used variable 'fan4min'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/hwmon/w83627ehf.c: In function 'w83627ehf_check_fan_inputs':
drivers/hwmon/w83627ehf.c:1296:24: warning:
 variable 'fan4min' set but not used [-Wunused-but-set-variable]

commit 62000264cfa8 ("hwmon: (w83627ehf) remove nct6775 and nct6776 support")
left behind this unused variable.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200108034514.50130-1-yuehaibing@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83627ehf.c