aboutsummaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/mcheck/mce.c
diff options
context:
space:
mode:
authorAndi Kleen <andi@firstfloor.org>2009-05-27 21:56:53 +0200
committerH. Peter Anvin <hpa@zytor.com>2009-05-28 09:24:15 -0700
commitfc016a49c2d92f2efbe22c1fb66eb7a5d2a06ed1 (patch)
tree212a4a854fa1d1adbbdbafe81afd6d3faa588030 /arch/x86/kernel/cpu/mcheck/mce.c
parentb56f642d2bf8c1f7c6499c1e55b23311a33cc796 (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>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck/mce.c')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce.c2
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 3cac9da7ce2..69aad7e96a5 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -71,7 +71,6 @@ static u64 *bank;
static unsigned long notify_user;
static int rip_msr;
static int mce_bootlog = -1;
-static atomic_t mce_events;
static char trigger[128];
static char *trigger_argv[2] = { trigger, NULL };
@@ -116,7 +115,6 @@ void mce_log(struct mce *mce)
{
unsigned next, entry;
- atomic_inc(&mce_events);
mce->finished = 0;
wmb();
for (;;) {