[PATCH 08/31] x86: MCE: Remove unused mce_events variable

Andi Kleen
2009-05-26T23:56:41Z

Impact: Cleanup

Remove unused mce_events static variable.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
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 d379e3f..925b222 100644
--- a/arch/x86/kernel/cpu/mcheck/mce.c
+++ b/arch/x86/kernel/cpu/mcheck/mce.c
@@ -73,7 +73,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 };
@@ -118,7 +117,6 @@ void mce_log(struct mce *mce)
{
unsigned next, entry;

- atomic_inc(&mce_events);
mce->finished = 0;
wmb();
for (;;) {
--
1.6.0.2