diff options
| author | 2021-10-10 09:01:32 +0200 | |
|---|---|---|
| committer | 2021-10-10 11:33:15 +0100 | |
| commit | b9c56ccb436d1e952bb1fc0ddf752669a116b310 (patch) | |
| tree | d35ac602aa4ce03ed65ff30f72eb19913514f81d /drivers/net/ethernet/intel/ice/ice_tc_lib.c | |
| parent | virtio_net: skip RCU read lock by checking xdp_enabled of vi (diff) | |
| download | linux-dev-b9c56ccb436d1e952bb1fc0ddf752669a116b310.tar.xz linux-dev-b9c56ccb436d1e952bb1fc0ddf752669a116b310.zip | |
ethernet: Remove redundant 'flush_workqueue()' calls
'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.
Remove the redundant 'flush_workqueue()' calls.
This was generated with coccinelle:
@@
expression E;
@@
- flush_workqueue(E);
destroy_workqueue(E);
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com> #mlx*
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_tc_lib.c')
0 files changed, 0 insertions, 0 deletions
