mirror of https://gitee.com/openkylin/linux.git
mwifiex: remove unnecessary NULL check
ra_list cannot be NULL here, so remove the unnecessary NULL check. Signed-off-by: Xinming Hu <huxm@marvell.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
fe24372d1b
commit
8785955bbc
|
@ -684,7 +684,7 @@ void mwifiex_update_ralist_tx_pause_in_tdls_cs(struct mwifiex_private *priv,
|
|||
if (!memcmp(ra_list->ra, mac, ETH_ALEN))
|
||||
continue;
|
||||
|
||||
if (ra_list && ra_list->tx_paused != tx_pause) {
|
||||
if (ra_list->tx_paused != tx_pause) {
|
||||
pkt_cnt += ra_list->total_pkt_count;
|
||||
ra_list->tx_paused = tx_pause;
|
||||
if (tx_pause)
|
||||
|
|
Loading…
Reference in New Issue