MCE: remove unused MCA_MCE_HANDLER
authorChristoph Egger <Christoph.Egger@amd.com>
Mon, 29 Oct 2012 14:08:56 +0000 (15:08 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Mon, 29 Oct 2012 14:08:56 +0000 (15:08 +0100)
Remove unused MCA_MCE_HANDLER. MCA_MCE_SCAN is used everywhere instead.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/cpu/mcheck/mce.h

index 574cef73fa0ea1bcc58eeafdc6abb29cd35b8130..8b542405ca5b7da6404cf404f870898ddc4e163f 100644 (file)
@@ -298,7 +298,6 @@ mcheck_mca_logout(enum mca_source who, struct mca_banks *bankmask,
 
     gstatus = mca_rdmsr(MSR_IA32_MCG_STATUS);
     switch (who) {
-    case MCA_MCE_HANDLER:
     case MCA_MCE_SCAN:
         mc_flags = MC_FLAG_MCE;
         which = MC_URGENT;
index 7af9a4eba94d4df5f48bb50c09cbff85f70a98cb..f2aeacb6ec57e2e96577c1e8baee9c2ff95e2524 100644 (file)
@@ -100,7 +100,6 @@ static inline uint64_t mca_rdmsr(unsigned int msr)
  * of the MCA data observed in the logout operation. */
 
 enum mca_source {
-       MCA_MCE_HANDLER,
        MCA_POLLER,
        MCA_CMCI_HANDLER,
        MCA_RESET,