ipc/util.c: remove unnecessary work pending test
authorXie XiuQi <xiexiuqi@huawei.com>
Tue, 12 Nov 2013 23:11:46 +0000 (15:11 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:36 +0000 (12:09 +0900)
commit206fa940977260ede421151aae067e2509356116
tree07322ef889d492cf1cfea0ca0a36c86d6e30b026
parent66da0e1f9034140ae2f571ef96e254a25083906c
ipc/util.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>
Cc: Tejun Heo <tj@kernel.org>
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>
ipc/util.c