]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
x86, mce: remove unused mce_events variable
authorAndi Kleen <andi@firstfloor.org>
Wed, 27 May 2009 19:56:53 +0000 (21:56 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 28 May 2009 16:24:15 +0000 (09:24 -0700)
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>
arch/x86/kernel/cpu/mcheck/mce.c

index 3cac9da7ce245c0e5632ff8afe2efce691d4f999..69aad7e96a535897fbc8b2134da95898f7fe1b0e 100644 (file)
@@ -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 (;;) {