]> Git Repo - linux.git/commitdiff
mce, amd: Remove goto in threshold_create_device()
authorRobert Richter <[email protected]>
Mon, 25 Oct 2010 14:03:38 +0000 (16:03 +0200)
committerIngo Molnar <[email protected]>
Mon, 25 Oct 2010 16:59:43 +0000 (18:59 +0200)
Removing the goto in threshold_create_device().

Signed-off-by: Robert Richter <[email protected]>
Acked-by: Borislav Petkov <[email protected]>
LKML-Reference: <1288015419[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
arch/x86/kernel/cpu/mcheck/mce_amd.c

index e316684f9ed7d64950340251750ae9278ad94092..5bf2fac52aca7771b6b7827117b9d2b2778fd8ad 100644 (file)
@@ -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;
 }
 
This page took 0.058625 seconds and 4 git commands to generate.