Merge tag 'sound-fix-3.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-drm-fsl-dcu.git] / lib / debugobjects.c
index bf2c8b1043d8bb5a8b44d19a139842ffb5514067..e0731c3db7069753ebd312824741783c0e41bf2c 100644 (file)
@@ -196,7 +196,7 @@ static void free_object(struct debug_obj *obj)
         * initialized:
         */
        if (obj_pool_free > ODEBUG_POOL_SIZE && obj_cache)
-               sched = keventd_up() && !work_pending(&debug_obj_work);
+               sched = keventd_up();
        hlist_add_head(&obj->node, &obj_pool);
        obj_pool_free++;
        obj_pool_used--;