[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <23417423c34ad949f53ebc947af8d18672a79a40.1243381848.git.ak@linux.intel.com>
Date: Wed, 27 May 2009 01:54:10 +0200
From: Andi Kleen <andi@...stfloor.org>
To: linux-kernel@...r.kernel.org, hpa@...or.com, x86@...nel.org
Cc: Andi Kleen <ak@...ux.intel.com>
Subject: [PATCH 08/31] x86: MCE: Remove unused mce_events variable
From: Andi Kleen <ak@...ux.intel.com>
Impact: Cleanup
Remove unused mce_events static variable.
Signed-off-by: Andi Kleen <ak@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists