• Tejun Heo's avatar
    iseries_veth: don't use flush_scheduled_work() · 9beb4896
    Tejun Heo authored
    flush_scheduled_work() is on its way out.  Remove its usage from
    iseries_veth.
    
    * Cancelling a delayed work, queueing it for immediate execution if
      cancelled and then waiting for completion can be done by simply
      calling flush_delayed_work_sync().
    
    * Explicitly cancel cnx->statemachine_wq on module unload.
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    Cc: "David S. Miller" <davem@davemloft.net>
    Cc: Santiago Leon <santil@linux.vnet.ibm.com>
    Cc: netdev@vger.kernel.org
    9beb4896
iseries_veth.c 42.8 KB