debugobj, workqueue: remove keventd_up() usage
authorTejun Heo <tj@kernel.org>
Fri, 16 Sep 2016 19:49:34 +0000 (15:49 -0400)
committerTejun Heo <tj@kernel.org>
Sat, 17 Sep 2016 17:18:21 +0000 (13:18 -0400)
Now that workqueue can handle work item queueing from very early
during boot, there is no need to gate schedule_work() while
!keventd_up().  Remove it.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
lib/debugobjects.c

index a8e1260..8458ec9 100644 (file)
@@ -199,7 +199,7 @@ static void free_object(struct debug_obj *obj)
         * initialized:
         */
        if (obj_pool_free > ODEBUG_POOL_SIZE && obj_cache)
-               sched = keventd_up();
+               sched = 1;
        hlist_add_head(&obj->node, &obj_pool);
        obj_pool_free++;
        obj_pool_used--;