Browse Source

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 năm trước cách đây
mục cha
commit
1bb0802460
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      drivers/tty/vt/vt.c

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

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