x86, mce: Fix compile warning in case of CONFIG_SMP=n
authorAndreas Herrmann <andreas.herrmann3@amd.com>
Tue, 15 Sep 2009 15:17:27 +0000 (17:17 +0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Sep 2009 17:48:14 +0000 (19:48 +0200)
commita017421ddcdf34474f1133b27e33ab2ca6c19b96
treee4ba91c183c52880904bf9879f4e36cfbffed18d
parent2fbd07a5f5d1295fa9b0c0564ec27da7c276a75a
x86, mce: Fix compile warning in case of CONFIG_SMP=n

Fix following compile warning:

  arch/x86/kernel/cpu/mcheck/mce_amd.c: In function 'threshold_create_bank':
  arch/x86/kernel/cpu/mcheck/mce_amd.c:492: warning: unused variable 'c'

which shows up when kernel is compiled with CONFIG_SMP=n.

Signed-off-by: Andreas Herrmann <andreas.herrmann3@amd.com>
LKML-Reference: <20090915151727.GB21670@alberich.amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/cpu/mcheck/mce_amd.c