* [PATCH] net: wireless: cw1200: Remove extra parentheses
@ 2018-07-25 19:00 Varsha Rao
2018-08-31 15:42 ` [PATCH] " Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Varsha Rao @ 2018-07-25 19:00 UTC (permalink / raw)
To: Lukas Bulwahn, Nicholas Mc Guire, Solomon Peachy, Kalle Valo,
David S. Miller, linux-wireless, netdev, linux-kernel
Cc: Varsha Rao
Remove unnecessary parentheses to fix the extraneous parentheses clang
warning.
Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
---
drivers/net/wireless/st/cw1200/txrx.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/st/cw1200/txrx.c b/drivers/net/wireless/st/cw1200/txrx.c
index f7b1b0062db3..8c800ef23159 100644
--- a/drivers/net/wireless/st/cw1200/txrx.c
+++ b/drivers/net/wireless/st/cw1200/txrx.c
@@ -624,9 +624,9 @@ cw1200_tx_h_bt(struct cw1200_common *priv,
priority = WSM_EPTA_PRIORITY_ACTION;
else if (ieee80211_is_mgmt(t->hdr->frame_control))
priority = WSM_EPTA_PRIORITY_MGT;
- else if ((wsm->queue_id == WSM_QUEUE_VOICE))
+ else if (wsm->queue_id == WSM_QUEUE_VOICE)
priority = WSM_EPTA_PRIORITY_VOICE;
- else if ((wsm->queue_id == WSM_QUEUE_VIDEO))
+ else if (wsm->queue_id == WSM_QUEUE_VIDEO)
priority = WSM_EPTA_PRIORITY_VIDEO;
else
priority = WSM_EPTA_PRIORITY_DATA;
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] cw1200: Remove extra parentheses
2018-07-25 19:00 [PATCH] net: wireless: cw1200: Remove extra parentheses Varsha Rao
@ 2018-08-31 15:42 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2018-08-31 15:42 UTC (permalink / raw)
To: Varsha Rao
Cc: Lukas Bulwahn, Nicholas Mc Guire, Solomon Peachy,
David S. Miller, linux-wireless, netdev, linux-kernel,
Varsha Rao
Varsha Rao <rvarsha016@gmail.com> wrote:
> Remove unnecessary parentheses to fix the extraneous parentheses clang
> warning.
>
> Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Patch applied to wireless-drivers-next.git, thanks.
057118edfc36 cw1200: Remove extra parentheses
--
https://patchwork.kernel.org/patch/10544575/
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-31 15:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-25 19:00 [PATCH] net: wireless: cw1200: Remove extra parentheses Varsha Rao
2018-08-31 15:42 ` [PATCH] " 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).