OSDN Git Service

staging: wfx: simplify hif_handle_tx_data()
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Jan 2020 13:55:34 +0000 (13:55 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:59:53 +0000 (20:59 +0100)
commit5244357961a422100b73a9da423532578579324a
treed4bdfe04ed008ae7d01d815b3c6debe8bfcf6aff
parent7bc71e80bdaf623712352f25fba97a80716d7644
staging: wfx: simplify hif_handle_tx_data()

Since enum action has now only two cases, it can be dropped. Then
hif_handle_tx_data() can be simplified.

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