staging: wfx: take advantage of wfx_tx_queue_empty()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 13 Sep 2021 13:01:39 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 07:16:32 +0000 (09:16 +0200)
commitd4172323526ae0b6097dd944dbe56739a4cba129
tree4b25fe32ab05f56e391af1078a34ebad4f9a8bc7
parent14a26aa49705935e7622de9f2108b1c430946263
staging: wfx: take advantage of wfx_tx_queue_empty()

wfx_tx_queues_check_empty() can be slightly simplified by calling
wfx_tx_queue_empty().

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20210913130203.1903622-9-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/queue.c