mirror of https://gitee.com/openkylin/linux.git
x86, mce: remove unused mce_events variable
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>
This commit is contained in:
parent
b56f642d2b
commit
fc016a49c2
|
@ -71,7 +71,6 @@ static u64 *bank;
|
||||||
static unsigned long notify_user;
|
static unsigned long notify_user;
|
||||||
static int rip_msr;
|
static int rip_msr;
|
||||||
static int mce_bootlog = -1;
|
static int mce_bootlog = -1;
|
||||||
static atomic_t mce_events;
|
|
||||||
|
|
||||||
static char trigger[128];
|
static char trigger[128];
|
||||||
static char *trigger_argv[2] = { trigger, NULL };
|
static char *trigger_argv[2] = { trigger, NULL };
|
||||||
|
@ -116,7 +115,6 @@ void mce_log(struct mce *mce)
|
||||||
{
|
{
|
||||||
unsigned next, entry;
|
unsigned next, entry;
|
||||||
|
|
||||||
atomic_inc(&mce_events);
|
|
||||||
mce->finished = 0;
|
mce->finished = 0;
|
||||||
wmb();
|
wmb();
|
||||||
for (;;) {
|
for (;;) {
|
||||||
|
|
Loading…
Reference in New Issue