rtlwifi: remove redundant statement found by static checker
authorPing-Ke Shih <pkshih@realtek.com>
Tue, 6 Mar 2018 01:25:41 +0000 (09:25 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 27 Mar 2018 08:54:39 +0000 (11:54 +0300)
smatch reports "rtl_is_special_data() warn: inconsistent indenting", but
it is an obvious redundant statement so remove it.

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/base.c

index 6db3389..762a29c 100644 (file)
@@ -1549,7 +1549,6 @@ u8 rtl_is_special_data(struct ieee80211_hw *hw, struct sk_buff *skb, u8 is_tx,
                /* EAPOL is seens as in-4way */
                rtlpriv->btcoexist.btc_info.in_4way = true;
                rtlpriv->btcoexist.btc_info.in_4way_ts = jiffies;
-       rtlpriv->btcoexist.btc_info.in_4way_ts = jiffies;
 
                RT_TRACE(rtlpriv, (COMP_SEND | COMP_RECV), DBG_DMESG,
                         "802.1X %s EAPOL pkt!!\n", (is_tx) ? "Tx" : "Rx");