hwmon: (via-cputemp) Remove bogus "SHOW" global variable
authorH. Peter Anvin <hpa@linux.intel.com>
Sat, 14 Aug 2010 19:09:02 +0000 (21:09 +0200)
committerJean Delvare <khali@linux-fr.org>
Sat, 14 Aug 2010 19:09:02 +0000 (21:09 +0200)
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 <hpa@linux.intel.com>
Acked-by: Harald Welte <HaraldWelte@viatech.com>
Cc: Juerg Haefliger <juergh@gmail.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/via-cputemp.c

index 7442cf7548563841765631f588cdfc480ef7ff42..ffb793af680b7cf378e6e1cf63c5e9bfc7c378c7 100644 (file)
@@ -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