[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445439337-19055-7-git-send-email-punitvara@gmail.com>
Date: Wed, 21 Oct 2015 20:25:28 +0530
From: Punit Vara <punitvara@...il.com>
To: kvalo@....qualcomm.com
Cc: stas.yakovlev@...il.com, chaoming_li@...lsil.com.cn,
Larry.Finger@...inger.net, chunkeey@...glemail.com,
sgruszka@...hat.com, brudley@...adcom.com, arend@...adcom.com,
linville@...driver.com, jirislaby@...il.com, mickflemm@...il.com,
mcgrof@...not-panic.com, k.eugene.e@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
brcm80211-dev-list@...adcom.com, wcn36xx@...ts.infradead.org,
johannes.berg@...el.com, meuleman@...adcom.com,
Punit Vara <punitvara@...il.com>
Subject: [PATCH 06/15] net: wireless: rtwifi: Remove duplicated arguments to |
Remove uncessary repeated arguments COMP_EFUSE, COMP_REGD, COMP_CHAN
with OR(|)
This is patch to the debug.c file that removes following warning
reported by coccicheck:
-duplicated argument to & or |
Signed-off-by: Punit Vara <punitvara@...il.com>
---
drivers/net/wireless/rtlwifi/debug.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/net/wireless/rtlwifi/debug.c b/drivers/net/wireless/rtlwifi/debug.c
index fd25aba..b8f5540 100644
--- a/drivers/net/wireless/rtlwifi/debug.c
+++ b/drivers/net/wireless/rtlwifi/debug.c
@@ -37,9 +37,9 @@ void rtl_dbgp_flag_init(struct ieee80211_hw *hw)
COMP_BEACON | COMP_RATE | COMP_RXDESC | COMP_DIG | COMP_TXAGC |
COMP_POWER | COMP_POWER_TRACKING | COMP_BB_POWERSAVING | COMP_SWAS |
COMP_RF | COMP_TURBO | COMP_RATR | COMP_CMD |
- COMP_EFUSE | COMP_QOS | COMP_MAC80211 | COMP_REGD | COMP_CHAN |
- COMP_EASY_CONCURRENT | COMP_EFUSE | COMP_QOS | COMP_MAC80211 |
- COMP_REGD | COMP_CHAN | COMP_BT_COEXIST;
+ COMP_EFUSE | COMP_QOS | COMP_MAC80211 | COMP_CHAN |
+ COMP_EASY_CONCURRENT | COMP_QOS | COMP_MAC80211 |
+ COMP_REGD | COMP_BT_COEXIST;
for (i = 0; i < DBGP_TYPE_MAX; i++)
--
2.5.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists