From: H. Peter Anvin Date: Sat, 14 Aug 2010 19:09:02 +0000 (+0200) Subject: hwmon: (via-cputemp) Remove bogus "SHOW" global variable X-Git-Tag: firefly_0821_release~9833^2~749^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f279941863f0d39fa8285b84449b52b8286a254b;p=firefly-linux-kernel-4.4.55.git hwmon: (via-cputemp) Remove bogus "SHOW" global variable The via-cputemp hwmon driver was probably intending "typedef enum { ... } SHOW;", but the "typedef" was missing creating a global variable named "SHOW". There is absolutely no reason to have this in the global namespace. Signed-off-by: H. Peter Anvin Acked-by: Harald Welte Cc: Juerg Haefliger Signed-off-by: Jean Delvare --- diff --git a/drivers/hwmon/via-cputemp.c b/drivers/hwmon/via-cputemp.c index 7442cf754856..ffb793af680b 100644 --- a/drivers/hwmon/via-cputemp.c +++ b/drivers/hwmon/via-cputemp.c @@ -39,7 +39,7 @@ #define DRVNAME "via_cputemp" -enum { SHOW_TEMP, SHOW_LABEL, SHOW_NAME } SHOW; +enum { SHOW_TEMP, SHOW_LABEL, SHOW_NAME }; /* * Functions declaration