Эх сурвалжийг харах

tty, workqueue: remove keventd_up() usage

Now that workqueue can handle work item queueing from very early
during boot, there is no need to delay schedule_work() while
!keventd_up().  Remove it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Tejun Heo 9 жил өмнө
parent
commit
1bb0802460

+ 0 - 4
drivers/tty/vt/vt.c

@@ -3924,10 +3924,6 @@ void unblank_screen(void)
  */
  */
 static void blank_screen_t(unsigned long dummy)
 static void blank_screen_t(unsigned long dummy)
 {
 {
-	if (unlikely(!keventd_up())) {
-		mod_timer(&console_timer, jiffies + (blankinterval * HZ));
-		return;
-	}
 	blank_timer_expired = 1;
 	blank_timer_expired = 1;
 	schedule_work(&console_work);
 	schedule_work(&console_work);
 }
 }