summaryrefslogtreecommitdiffstats
path: root/drivers/tty/vt/vt.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-09-16 15:49:33 -0400
committerTejun Heo <tj@kernel.org>2016-09-17 13:18:21 -0400
commit1bb0802460da42cd552e03060a65e3f303905088 (patch)
tree411b435095ae8c21f02c92669f557ff9b2b6cfa1 /drivers/tty/vt/vt.c
parenta2c2727d207dbd596b79fceb0953ba84b24abb4e (diff)
downloadlinux-stable-1bb0802460da42cd552e03060a65e3f303905088.tar.gz
linux-stable-1bb0802460da42cd552e03060a65e3f303905088.tar.bz2
linux-stable-1bb0802460da42cd552e03060a65e3f303905088.zip
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>
Diffstat (limited to 'drivers/tty/vt/vt.c')
-rw-r--r--drivers/tty/vt/vt.c4
1 files changed, 0 insertions, 4 deletions
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);
}