kthread_work: remove the unused wait_queue_head
authorLai Jiangshan <laijs@cn.fujitsu.com>
Sat, 26 Jul 2014 04:04:00 +0000 (12:04 +0800)
committerTejun Heo <tj@kernel.org>
Mon, 28 Jul 2014 18:16:30 +0000 (14:16 -0400)
commit95847e1bd34c0de86039408b24a05f07e788061d
treee7aa09711a482867c98c608f742303d7411126cc
parented1403ec2bd463050e481cd29be40c504021676c
kthread_work: remove the unused wait_queue_head

The wait_queue_head_t kthread_work->done is unused since
flush_kthread_work() has been re-implemented.  Let's remove it
including the initialization code.  This makes
DEFINE_KTHREAD_WORK_ONSTACK() unnecessary, removed.

tj: Updated description.  Removed DEFINE_KTHREAD_WORK_ONSTACK().

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
include/linux/kthread.h