From ca08c9006603b90c70f7492c0a973e4821798bf0 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 24 Feb 2011 09:36:23 +0000 Subject: [PATCH] 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 --- xen/arch/x86/cpu/mcheck/amd_k8.c | 1 - 1 file changed, 1 deletion(-) 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; } } -- 2.39.5