net: wireless: ath9k: Remove unnecessary parentheses
Subsystems (3)
PATCH 1/1 net: wireless: ath9k: Remove unnecessary parentheses
Remove extra parentheses to fix the clang warning of extraneous parentheses.
Signed-off-by Varsha Rao <[email protected]>
--- drivers/net/wireless/ath/ath9k/debug_sta.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/wireless/ath/ath9k/debug_sta.c +1 -1
@@ -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++;
Signature · 1 line
2.17.0
Quoted 5 lines · Varsha Rao
Remove extra parentheses to fix the clang warning of extraneous parentheses.
Signed-off-by Varsha Rao <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath-next branch of ath.git, thanks.
bf05e0fe7da4 ath9k: Remove unnecessary parentheses
Signature · 3 lines
https://patchwork.kernel.org/patch/10544571/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches