summaryrefslogtreecommitdiffstats
path: root/block/blk-flush.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2019-06-17 14:34:30 +0200
committerGuenter Roeck <linux@roeck-us.net>2019-06-23 18:33:01 -0700
commit3253854dc19f1610b8d01fb9265bbd98ce18abd7 (patch)
tree228acd9bfef123f4884162accef70450d9b31f8a /block/blk-flush.c
parent7d45deb31bec3992cd92a240946fbf872661fa2c (diff)
downloadlinux-3253854dc19f1610b8d01fb9265bbd98ce18abd7.tar.bz2
hwmon: (max6650) Fix unused variable warning
The newly added variable is only used in an #if block: drivers/hwmon/max6650.c: In function 'max6650_probe': drivers/hwmon/max6650.c:766:33: error: unused variable 'cooling_dev' [-Werror=unused-variable] Change the #if to if() so the compiler can see what is actually going on. Fixes: a8463754a5a9 ("hwmon: (max6650) Use devm function to register thermal device") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'block/blk-flush.c')
0 files changed, 0 insertions, 0 deletions