projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06ae8dc
)
ath9k: Remove unnecessary parentheses
author
Varsha Rao
<rvarsha016@gmail.com>
Wed, 25 Jul 2018 18:53:03 +0000
(20:53 +0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Tue, 28 Aug 2018 13:43:52 +0000
(16:43 +0300)
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/debug_sta.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath9k/debug_sta.c
b/drivers/net/wireless/ath/ath9k/debug_sta.c
index
a6f45f1
..
ed8b77a
100644
(file)
--- a/
drivers/net/wireless/ath/ath9k/debug_sta.c
+++ b/
drivers/net/wireless/ath/ath9k/debug_sta.c
@@
-116,7
+116,7
@@
void ath_debug_rate_stats(struct ath_softc *sc,
if (rxs->rate_idx >= ARRAY_SIZE(rstats->ht_stats))
goto exit;
- if (
(rxs->bw == RATE_INFO_BW_40)
)
+ if (
rxs->bw == RATE_INFO_BW_40
)
rstats->ht_stats[rxs->rate_idx].ht40_cnt++;
else
rstats->ht_stats[rxs->rate_idx].ht20_cnt++;