Skip to content

Commit

Permalink
x86, mce: remove unused mce_events variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and H. Peter Anvin committed May 28, 2009
1 parent b56f642 commit fc016a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kernel/cpu/mcheck/mce.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
Expand Down Expand Up @@ -116,7 +115,6 @@ void mce_log(struct mce *mce)
{
unsigned next, entry;

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

0 comments on commit fc016a4

Please sign in to comment.