linux-stable/drivers/net/wireless/marvell
Tuo Li 118934041c mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw()
There is no case in which the variable cmd_node->cmd_skb has no ->data,
and thus the variable host_cmd is guaranteed to be not NULL. Therefore,
the null-pointer check is redundant and can be dropped.

Reported-by: TOTE Robot <oslab@tsinghua.edu.cn>
Signed-off-by: Tuo Li <islituo@gmail.com>
Tested-by: Brian Norris <briannorris@chromium.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210804020305.29812-1-islituo@gmail.com
2021-08-21 20:49:20 +03:00
..
libertas libertas: Remove unnecessary label of lbs_ethtool_get_eeprom 2021-08-01 13:28:55 +03:00
libertas_tf libertas_tf: Fix wrong function name in comments 2021-06-15 16:10:45 +03:00
mwifiex mwifiex: drop redundant null-pointer check in mwifiex_dnld_cmd_to_fw() 2021-08-21 20:49:20 +03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
mwl8k.c mwl8k: Avoid memcpy() over-reading of mcs.rx_mask 2021-06-22 18:23:54 +03:00