diff options
author | Jérôme Pouiller <jerome.pouiller@silabs.com> | 2020-04-10 15:32:27 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-04-13 14:42:41 +0200 |
commit | eb63e2fddb51370fcb2ba77ce5e9d49515acc295 (patch) | |
tree | 0d679ee1628a1ac28a9c8f28a499a5b2cdc0cf16 | |
parent | 9abb6b26f62e392ba3761256e9e020a45c5629e3 (diff) | |
download | linux-eb63e2fddb51370fcb2ba77ce5e9d49515acc295.tar.bz2 |
staging: wfx: remove useless call to wfx_tx_flush()
wfx_do_join() calls wfx_tx_lock_flush() ate beginning of the function.
Therefore, the subsequent call to wfx_tx_flush() is useless.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200410133239.438347-8-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/wfx/sta.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index acbbc3a44733..7693ce22f300 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -493,8 +493,6 @@ static void wfx_do_join(struct wfx_vif *wvif) } rcu_read_unlock(); - wfx_tx_flush(wvif->wdev); - if (wvif_count(wvif->wdev) <= 1) hif_set_block_ack_policy(wvif, 0xFF, 0xFF); |