• Tejun Heo's avatar
    connector: remove lazy workqueue creation · 6cebb17b
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    6cebb17b
cn_queue.c 4.34 KB