]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ath9k: Remove unnecessary parentheses
authorVarsha Rao <rvarsha016@gmail.com>
Wed, 25 Jul 2018 18:53:03 +0000 (20:53 +0200)
committerKalle 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

index a6f45f1bb5bb2f24abdcb7311218bd55abd720f2..ed8b77a746300e9c66463a22bd564f8f2876b4ab 100644 (file)
@@ -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++;