projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe24372
)
mwifiex: remove unnecessary NULL check
author
Xinming Hu
<huxm@marvell.com>
Fri, 9 Oct 2015 11:26:35 +0000
(
04:26
-0700)
committer
Kalle Valo
<kvalo@codeaurora.org>
Wed, 14 Oct 2015 11:22:08 +0000
(14:22 +0300)
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>
drivers/net/wireless/mwifiex/wmm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/wireless/mwifiex/wmm.c
b/drivers/net/wireless/mwifiex/wmm.c
index 57c13ec3d3defd11cefc91dda1a9c001b5aa8c67..acccd6734e3b332cb172789e9b210c077465371f 100644
(file)
--- a/
drivers/net/wireless/mwifiex/wmm.c
+++ b/
drivers/net/wireless/mwifiex/wmm.c
@@
-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)