cw1200: Remove extra parentheses
authorVarsha Rao <rvarsha016@gmail.com>
Wed, 25 Jul 2018 19:00:07 +0000 (21:00 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 31 Aug 2018 15:42:25 +0000 (18:42 +0300)
Remove unnecessary parentheses to fix the extraneous parentheses clang
warning.

Signed-off-by: Varsha Rao <rvarsha016@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/st/cw1200/txrx.c

index f7b1b00..8c800ef 100644 (file)
@@ -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;