Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7092dff2 authored by Tejun Heo's avatar Tejun Heo
Browse files

debugobj, workqueue: remove keventd_up() usage



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: default avatarTejun Heo <tj@kernel.org>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
parent eac0337a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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--;