mirror of https://gitee.com/openkylin/linux.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 <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>
This commit is contained in:
parent
4bd2691d6c
commit
f279941863
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue