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>
This commit is contained in:
Родитель
a2c2727d20
Коммит
1bb0802460
|
@ -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);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче