[SPARC]: Remove legacy stuff from cpu_idle().
[linux-3.10.git] / arch / sparc64 / kernel / process.c
index 26d3ec41da1c376fbe855ec1253c56c327fed43f..a0cd2b2494d6cc5f111faeed82a42ab96ba99323 100644 (file)
@@ -62,9 +62,6 @@ void default_idle(void)
  */
 void cpu_idle(void)
 {
-       if (current->pid != 0)
-               return;
-
        /* endless idle loop with no priority at all */
        for (;;) {
                /* If current->work.need_resched is zero we should really
@@ -80,7 +77,6 @@ void cpu_idle(void)
                schedule();
                check_pgt_cache();
        }
-       return;
 }
 
 #else