summaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2016-09-16 15:49:34 -0400
committerTejun Heo <tj@kernel.org>2016-09-17 13:18:21 -0400
commit7092dff2af0bd734b91e963d693b9123de7e4414 (patch)
treed6330e2dc0a8524cdf084fc79c17f1007f4b55ca /lib/debugobjects.c
parenteac0337af12b6a55f08c69429400d6530d602dff (diff)
downloadlinux-7092dff2af0bd734b91e963d693b9123de7e4414.tar.gz
linux-7092dff2af0bd734b91e963d693b9123de7e4414.tar.bz2
linux-7092dff2af0bd734b91e963d693b9123de7e4414.zip
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: Tejun Heo <tj@kernel.org> Acked-by: Thomas Gleixner <tglx@linutronix.de> Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'lib/debugobjects.c')
-rw-r--r--lib/debugobjects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/debugobjects.c b/lib/debugobjects.c
index a8e12601eb37..8458ec9d3d9f 100644
--- a/lib/debugobjects.c
+++ b/lib/debugobjects.c
@@ -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--;