aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/cpu/mcheck
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-10-25 10:03:38 -0400
committerIngo Molnar <mingo@elte.hu>2010-10-25 12:59:43 -0400
commit0a17941e71f089b128514f7b5b486e20072ca7dc (patch)
tree5cb5f355c755f9f1ab55d058642579222026b941 /arch/x86/kernel/cpu/mcheck
parentbbaff08dca3c34d0fb6b4c4051354184e33e3df8 (diff)
mce, amd: Remove goto in threshold_create_device()
Removing the goto in threshold_create_device(). Signed-off-by: Robert Richter <robert.richter@amd.com> Acked-by: Borislav Petkov <borislav.petkov@amd.com> LKML-Reference: <1288015419-29543-5-git-send-email-robert.richter@amd.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/mcheck')
-rw-r--r--arch/x86/kernel/cpu/mcheck/mce_amd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/cpu/mcheck/mce_amd.c b/arch/x86/kernel/cpu/mcheck/mce_amd.c
index e316684f9ed..5bf2fac52ac 100644
--- a/arch/x86/kernel/cpu/mcheck/mce_amd.c
+++ b/arch/x86/kernel/cpu/mcheck/mce_amd.c
@@ -622,9 +622,9 @@ static __cpuinit int threshold_create_device(unsigned int cpu)
622 continue; 622 continue;
623 err = threshold_create_bank(cpu, bank); 623 err = threshold_create_bank(cpu, bank);
624 if (err) 624 if (err)
625 goto out; 625 return err;
626 } 626 }
627out: 627
628 return err; 628 return err;
629} 629}
630 630