mlxsw: core: Queue work immediately instead of delaying it
authorIdo Schimmel <idosch@mellanox.com>
Mon, 6 Feb 2017 15:20:10 +0000 (16:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2017 16:25:55 +0000 (11:25 -0500)
commita0e4761d9bd546eba2e9d3a675863a843624e613
tree3c8cca0661e70b9b36cccb43777631e8cef8b4f9
parentfcdc103dac5bdabddd626a4dfe7e5aa5673a61c4
mlxsw: core: Queue work immediately instead of delaying it

We always use zero delay before queueing a work on the ordered workqueue
('mlxsw_owq'), so use work_struct directly instead of delayable work.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/core.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c