[SPARC]: Remove legacy stuff from cpu_idle().
[linux-3.10.git] / arch / sparc / kernel / process.c
index 066e253f9c124fd1c29de3a42f2ee14ffa41ac8d..2c216ffeea90b61535eae1cd37d07b7f9acdb479 100644 (file)
@@ -83,9 +83,6 @@ void default_idle(void)
  */
 void cpu_idle(void)
 {
-       if (current->pid != 0)
-               goto out;
-
        /* endless idle loop with no priority at all */
        for (;;) {
                if (ARCH_SUN4C_SUN4) {
@@ -126,8 +123,6 @@ void cpu_idle(void)
                schedule();
                check_pgt_cache();
        }
-out:
-       return;
 }
 
 #else