connector: remove lazy workqueue creation
authorTejun Heo <tj@kernel.org>
Thu, 14 Oct 2010 23:55:22 +0000 (23:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 21:20:01 +0000 (14:20 -0700)
commit6cebb17beece746de86793cd549e84740896cf4a
tree6f5a3ee1ab6ee0147688f7e2343055645f7a64e7
parent229aebb873e29726b91e076161649cf45154b0bf
connector: remove lazy workqueue creation

Commit 1a5645bc (connector: create connector workqueue only while
needed once) implements lazy workqueue creation for connector
workqueue.  With cmwq now in place, lazy workqueue creation doesn't
make much sense while adding a lot of complexity.  Remove it and
allocate an ordered workqueue during initialization.

This also removes a call to flush_scheduled_work() which is deprecated
and scheduled to be removed.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/connector/cn_queue.c
drivers/connector/connector.c
include/linux/connector.h