lib/debugobjects.c: remove unnecessary work pending test
authorXie XiuQi <xiexiuqi@huawei.com>
Tue, 12 Nov 2013 23:09:49 +0000 (15:09 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:22 +0000 (12:09 +0900)
commitd3773ba13c8ca63a4ee9e7926813f6e82be27a6c
tree0a747198208b9bfe7d804ca9ba122647ed5c2975
parentec778edf97dcaa517e5b0eea6f1a9ba9d476e4a8
lib/debugobjects.c: remove unnecessary work pending test

Remove unnecessary work pending test before calling schedule_work().  It
has been tested in queue_work_on() already.  No functional changed.

Signed-off-by: Xie XiuQi <xiexiuqi@huawei.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/debugobjects.c