diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-05-27 15:56:53 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-05-28 12:24:15 -0400 |
commit | fc016a49c2d92f2efbe22c1fb66eb7a5d2a06ed1 (patch) | |
tree | 212a4a854fa1d1adbbdbafe81afd6d3faa588030 | |
parent | b56f642d2bf8c1f7c6499c1e55b23311a33cc796 (diff) |
x86, mce: remove unused mce_events variable
Remove unused mce_events static variable.
[ Impact: cleanup ]
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c index 3cac9da7ce24..69aad7e96a53 100644 --- a/arch/x86/kernel/cpu/mcheck/mce.c +++ b/arch/x86/kernel/cpu/mcheck/mce.c | |||
@@ -71,7 +71,6 @@ static u64 *bank; | |||
71 | static unsigned long notify_user; | 71 | static unsigned long notify_user; |
72 | static int rip_msr; | 72 | static int rip_msr; |
73 | static int mce_bootlog = -1; | 73 | static int mce_bootlog = -1; |
74 | static atomic_t mce_events; | ||
75 | 74 | ||
76 | static char trigger[128]; | 75 | static char trigger[128]; |
77 | static char *trigger_argv[2] = { trigger, NULL }; | 76 | static char *trigger_argv[2] = { trigger, NULL }; |
@@ -116,7 +115,6 @@ void mce_log(struct mce *mce) | |||
116 | { | 115 | { |
117 | unsigned next, entry; | 116 | unsigned next, entry; |
118 | 117 | ||
119 | atomic_inc(&mce_events); | ||
120 | mce->finished = 0; | 118 | mce->finished = 0; |
121 | wmb(); | 119 | wmb(); |
122 | for (;;) { | 120 | for (;;) { |