lkml.org 
[lkml]   [2009]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] [8/28] x86: MCE: Remove unused mce_events variable
Date

Impact: Cleanup

Remove unused mce_events static variable.

Signed-off-by: Andi Kleen <ak@linux.intel.com>

---
arch/x86/kernel/cpu/mcheck/mce_64.c | 2 --
1 file changed, 2 deletions(-)

Index: linux/arch/x86/kernel/cpu/mcheck/mce_64.c
===================================================================
--- linux.orig/arch/x86/kernel/cpu/mcheck/mce_64.c 2009-04-07 16:09:59.000000000 +0200
+++ linux/arch/x86/kernel/cpu/mcheck/mce_64.c 2009-04-07 16:43:13.000000000 +0200
@@ -55,7 +55,6 @@
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 };
@@ -91,7 +90,6 @@
void mce_log(struct mce *mce)
{
unsigned next, entry;
- atomic_inc(&mce_events);
mce->finished = 0;
wmb();
for (;;) {

\
 
 \ /
  Last update: 2009-04-07 17:15    [W:0.231 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site