mirror_ubuntu-kernels/drivers/net/wireless/silabs/wfx
Christophe JAILLET 015bf4df8e wifi: wfx: Remove some dead code
wait_for_completion_timeout() can not return a <0 value.
So simplify the logic and remove dead code.

-ERESTARTSYS can not be returned by do_wait_for_common() for tasks with
TASK_UNINTERRUPTIBLE, which is the case for wait_for_completion_timeout()

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/809c4a645c8d1306c0d256345515865c40ec731c.1676464422.git.christophe.jaillet@wanadoo.fr
2023-02-22 14:28:27 +02:00
..
bh.c
bh.h
bus_sdio.c
bus_spi.c
bus.h
data_rx.c wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00
data_rx.h
data_tx.c wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00
data_tx.h
debug.c
debug.h
fwio.c wifi: wfx: Remove redundant NULL check before release_firmware() call 2022-06-10 10:38:55 +03:00
fwio.h
hif_api_cmd.h
hif_api_general.h
hif_api_mib.h
hif_rx.c
hif_rx.h
hif_tx_mib.c
hif_tx_mib.h
hif_tx.c wifi: mac80211: move interface config to new struct 2022-06-20 12:55:03 +02:00
hif_tx.h
hwio.c
hwio.h
Kconfig
key.c wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00
key.h
main.c wifi: wfx: Remove some dead code 2023-02-22 14:28:27 +02:00
main.h
Makefile
queue.c wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00
queue.h
scan.c wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00
scan.h
sta.c wifi: mac80211: replace link_id with link_conf in switch/(un)assign_vif_chanctx() 2022-07-15 11:43:20 +02:00
sta.h wifi: mac80211: replace link_id with link_conf in switch/(un)assign_vif_chanctx() 2022-07-15 11:43:20 +02:00
traces.h
wfx.h wfx: use container_of() to get vif 2022-05-11 08:32:57 +03:00