hwmon: (hwmon-vid) Add __maybe_unused attribute to dummy variable
authorGuenter Roeck <linux@roeck-us.net>
Mon, 9 Sep 2013 02:31:59 +0000 (19:31 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 10 Sep 2013 13:28:17 +0000 (06:28 -0700)
commit98128de30f4bb2adc29028fdd5839de83bc4bcff
treedbeca529c6d0388cb0cc8d54d921af015296c0ab
parente5c832d5558826cc6e9a24746cfdec8e7780063a
hwmon: (hwmon-vid) Add __maybe_unused attribute to dummy variable

This gets rid of this warning:

drivers/hwmon/hwmon-vid.c: In function 'get_via_model_d_vrm':
drivers/hwmon/hwmon-vid.c:249:27: warning: variable 'dummy' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/hwmon-vid.c