staging: wfx: simplify wfx_conf_tx()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Tue, 17 Dec 2019 16:15:19 +0000 (16:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:56:19 +0000 (15:56 +0100)
commitc91ba8c8514307c3c60dc2b1015d379b1d01c809
tree8b86f5f3dcb41ad0b53f2785d48a984423e660c6
parent8a274dfb59209d0e0bd96f3a7917aceba39b0ca4
staging: wfx: simplify wfx_conf_tx()

Error management of wfx_conf_tx() can be simplified.

In add, the hardware command "hif_set_edca_queue_params" never returns
any error.

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