Commit-ID: 0a17941e71f089b128514f7b5b486e20072ca7dc Gitweb: http://git.kernel.org/tip/0a17941e71f089b128514f7b5b486e20072ca7dc Author: Robert Richter <robert.richter@xxxxxxx> AuthorDate: Mon, 25 Oct 2010 16:03:38 +0200 Committer: Ingo Molnar <mingo@xxxxxxx> CommitDate: Mon, 25 Oct 2010 18:59:43 +0200 mce, amd: Remove goto in threshold_create_device() Removing the goto in threshold_create_device(). Signed-off-by: Robert Richter <robert.richter@xxxxxxx> Acked-by: Borislav Petkov <borislav.petkov@xxxxxxx> LKML-Reference: <1288015419-29543-5-git-send-email-robert.richter@xxxxxxx> Signed-off-by: Ingo Molnar <mingo@xxxxxxx> --- 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 e316684..5bf2fac 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; } -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |