From: Keir Fraser Date: Thu, 24 Feb 2011 09:36:23 +0000 (+0000) Subject: amd-k8-mce: remove a stray break statement X-Git-Tag: 4.0.2-rc3~20 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ca08c9006603b90c70f7492c0a973e4821798bf0;p=people%2Fvhanquez%2Fxen.git amd-k8-mce: remove a stray break statement 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 xen-unstable changeset: 22947:598d1fc295b6 xen-unstable date: Thu Feb 24 09:33:19 2011 +0000 --- diff --git a/xen/arch/x86/cpu/mcheck/amd_k8.c b/xen/arch/x86/cpu/mcheck/amd_k8.c index 13be7cbb2..05ef07dd6 100644 --- a/xen/arch/x86/cpu/mcheck/amd_k8.c +++ b/xen/arch/x86/cpu/mcheck/amd_k8.c @@ -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; } }