summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRobert Richter <robert.richter@amd.com>2010-10-25 16:03:38 +0200
committerIngo Molnar <mingo@elte.hu>2010-10-25 18:59:43 +0200
commit0a17941e71f089b128514f7b5b486e20072ca7dc (patch)
tree5cb5f355c755f9f1ab55d058642579222026b941 /arch
parentbbaff08dca3c34d0fb6b4c4051354184e33e3df8 (diff)
downloadblackbird-op-linux-0a17941e71f089b128514f7b5b486e20072ca7dc.tar.gz
blackbird-op-linux-0a17941e71f089b128514f7b5b486e20072ca7dc.zip
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')
-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 e316684f9ed7..5bf2fac52aca 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)
continue;
err = threshold_create_bank(cpu, bank);
if (err)
- goto out;
+ return err;
}
-out:
+
return err;
}
OpenPOWER on IntegriCloud