From: Tejun Heo Date: Fri, 16 Sep 2016 19:49:33 +0000 (-0400) Subject: tty, workqueue: remove keventd_up() usage X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1bb0802460da42cd552e03060a65e3f303905088;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Jiri Slaby Cc: Alan Cox --- diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c index 2705ca960e92..f76ad4c1fc4c 100644 --- a/drivers/tty/vt/vt.c +++ b/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); }