Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8785955b authored by Xinming Hu's avatar Xinming Hu Committed by Kalle Valo
Browse files

mwifiex: remove unnecessary NULL check



ra_list cannot be NULL here, so remove the unnecessary NULL check.

Signed-off-by: default avatarXinming Hu <huxm@marvell.com>
Signed-off-by: default avatarAmitkumar Karwar <akarwar@marvell.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent fe24372d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)