linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Thu, 03 Mar 2005 12:23:04 +0000
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/03/03 12:22:58

Modified files:
        arch/mips/kernel: smp.c 

Log message:
        No point in having a return statement after panicing.

diff -urN linux/arch/mips/kernel/smp.c linux/arch/mips/kernel/smp.c
--- linux/arch/mips/kernel/smp.c        2005/02/22 21:18:01     1.75
+++ linux/arch/mips/kernel/smp.c        2005/03/03 12:22:58     1.76
@@ -280,12 +280,9 @@
         * Linux can schedule processes on this slave.
         */
        idle = fork_idle(cpu);
-       if (IS_ERR(idle)) {
+       if (IS_ERR(idle))
                panic(KERN_ERR "Fork failed for CPU %d\n", cpu);
 
-               return PTR_ERR(idle);
-       }
-
        prom_boot_secondary(cpu, idle);
 
        /*

<Prev in Thread] Current Thread [Next in Thread>