ath9k: Remove unnecessary parentheses
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>
This commit is contained in:
parent
06ae8dc004
commit
bf05e0fe7d
@ -116,7 +116,7 @@ void ath_debug_rate_stats(struct ath_softc *sc,
|
|||||||
if (rxs->rate_idx >= ARRAY_SIZE(rstats->ht_stats))
|
if (rxs->rate_idx >= ARRAY_SIZE(rstats->ht_stats))
|
||||||
goto exit;
|
goto exit;
|
||||||
|
|
||||||
if ((rxs->bw == RATE_INFO_BW_40))
|
if (rxs->bw == RATE_INFO_BW_40)
|
||||||
rstats->ht_stats[rxs->rate_idx].ht40_cnt++;
|
rstats->ht_stats[rxs->rate_idx].ht40_cnt++;
|
||||||
else
|
else
|
||||||
rstats->ht_stats[rxs->rate_idx].ht20_cnt++;
|
rstats->ht_stats[rxs->rate_idx].ht20_cnt++;
|
||||||
|
Loading…
Reference in New Issue
Block a user