]> xenbits.xensource.com Git - people/tklengyel/xen.git/commitdiff
amd-k8-mce: remove a stray break statement
authorKeir Fraser <keir@xen.org>
Thu, 24 Feb 2011 09:33:19 +0000 (09:33 +0000)
committerKeir Fraser <keir@xen.org>
Thu, 24 Feb 2011 09:33:19 +0000 (09:33 +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/arch/x86/cpu/mcheck/amd_k8.c

index 9fc32d62750c2fa15e39597b250fda70c1dcee7e..3bce38e98a860c1442e7d433d8e40f46c5a063cf 100644 (file)
@@ -92,7 +92,6 @@ enum mcheck_type amd_k8_mcheck_init(struct cpuinfo_x86 *c)
                        /* Enable error reporting of all errors */
                        wrmsrl(MSR_IA32_MCx_CTL(i), 0xffffffffffffffffULL);
                        wrmsrl(MSR_IA32_MCx_STATUS(i), 0x0ULL);
-                       break;
                }
        }