* [PATCH] net: wireless: ath9k: Remove unnecessary parentheses
@ 2018-07-25 18:53 Varsha Rao
2018-08-28 13:44 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Varsha Rao @ 2018-07-25 18:53 UTC (permalink / raw)
To: Lukas Bulwahn, Nicholas Mc Guire, QCA ath9k Development,
Kalle Valo, David S. Miller, linux-wireless, netdev,
linux-kernel
Cc: Varsha Rao
Remove extra parentheses to fix the clang warning of extraneous
parentheses.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
drivers/net/wireless/ath/ath9k/debug_sta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/wireless/ath/ath9k/debug_sta.c b/drivers/net/wireless/ath/ath9k/debug_sta.c
index a6f45f1bb5bb..ed8b77a74630 100644
--- 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++;
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] net: wireless: ath9k: Remove unnecessary parentheses
2018-07-25 18:53 [PATCH] net: wireless: ath9k: Remove unnecessary parentheses Varsha Rao
@ 2018-08-28 13:44 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-08-28 13:44 UTC (permalink / raw)
To: Varsha Rao
Cc: Lukas Bulwahn, Nicholas Mc Guire, QCA ath9k Development,
David S. Miller, linux-wireless, netdev, linux-kernel,
Varsha Rao
Varsha Rao <rvarsha016@gmail.com> wrote:
> 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>
Patch applied to ath-next branch of ath.git, thanks.
bf05e0fe7da4 ath9k: Remove unnecessary parentheses
--
https://patchwork.kernel.org/patch/10544571/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-08-28 17:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 18:53 [PATCH] net: wireless: ath9k: Remove unnecessary parentheses Varsha Rao
2018-08-28 13:44 ` Kalle Valo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).