staging: wfx: remove useless call to wfx_tx_flush()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Fri, 10 Apr 2020 13:32:27 +0000 (15:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Apr 2020 12:42:41 +0000 (14:42 +0200)
commiteb63e2fddb51370fcb2ba77ce5e9d49515acc295
tree0d679ee1628a1ac28a9c8f28a499a5b2cdc0cf16
parent9abb6b26f62e392ba3761256e9e020a45c5629e3
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>
drivers/staging/wfx/sta.c