]> xenbits.xensource.com Git - xen.git/commitdiff
amd-k8-mce: remove a stray break statement
authorKeir Fraser <keir@xen.org>
Thu, 24 Feb 2011 09:36:23 +0000 (09:36 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 24 Feb 2011 09:36:23 +0000 (09:36 +0000)
This was a leftover of converting from a switch to an if/else
somewhere between 3.4 and 4.0.

It also looks suspicious that MCEQUIRK_K7_BANK0 is not actually used
anywhere. Perhaps amd_k7_mcheck_init() and amd_k8_mcheck_init() were
intended to get (partially) folded?

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen-unstable changeset:   22947:598d1fc295b6
xen-unstable date:        Thu Feb 24 09:33:19 2011 +0000

xen/arch/x86/cpu/mcheck/amd_k8.c

index 13be7cbb288f20dc13a4213a4a9c61e3a210e6b0..05ef07dd6f3bd8cf7b269d68da0f43b54b58ffe8 100644 (file)
@@ -97,7 +97,6 @@ enum mcheck_type amd_k8_mcheck_init(struct cpuinfo_x86 *c)
                        /* Enable error reporting of all errors */
                        wrmsrl(MSR_IA32_MC0_CTL + 4 * i, 0xffffffffffffffffULL);
                        wrmsrl(MSR_IA32_MC0_STATUS + 4 * i, 0x0ULL);
-                       break;
                }
        }