Skip to content

Commit

Permalink
hwmon: (via-cputemp) Remove bogus "SHOW" global variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H. Peter Anvin authored and Jean Delvare committed Aug 14, 2010
1 parent 4bd2691 commit f279941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/hwmon/via-cputemp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f279941

Please sign in to comment.