diff options
author | Robert Richter <[email protected]> | 2010-10-25 16:03:38 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2010-10-25 18:59:43 +0200 |
commit | 0a17941e71f089b128514f7b5b486e20072ca7dc (patch) | |
tree | 5cb5f355c755f9f1ab55d058642579222026b941 | |
parent | bbaff08dca3c34d0fb6b4c4051354184e33e3df8 (diff) |
mce, amd: Remove goto in threshold_create_device()
Removing the goto in threshold_create_device().
Signed-off-by: Robert Richter <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
-rw-r--r-- | arch/x86/kernel/cpu/mcheck/mce_amd.c | 4 |
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; } |