]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rtl8xxxu: Remove unused variable
authorJes Sorensen <Jes.Sorensen@redhat.com>
Mon, 29 Feb 2016 22:04:42 +0000 (17:04 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:29:03 +0000 (15:29 +0200)
Remove an unused variable to make the compiler happy.

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c

index fa8a92a68bc56eea9777f750cce5d7a4de7b501c..70543942e8d4b630d2722e60091d16ca30b9a603 100644 (file)
@@ -1781,7 +1781,7 @@ static void rtl8723bu_config_channel(struct ieee80211_hw *hw)
 {
        struct rtl8xxxu_priv *priv = hw->priv;
        u32 val32, rsr;
-       u8 val8, opmode, subchannel;
+       u8 val8, subchannel;
        u16 rf_mode_bw;
        bool ht = true;
        int sec_ch_above, channel;