summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJes Sorensen <Jes.Sorensen@redhat.com>2016-02-29 23:04:42 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-03-10 14:29:03 +0100
commit368633ce6853bb2ba678c7cb5bfeb103e7bc56ba (patch)
tree6c4e1a4511b98fa6387032c31d1418df583cfcfd /drivers
parentrtl8xxxu: Initial rtl8723bu_init_bt() code (diff)
downloadlinux-368633ce6853bb2ba678c7cb5bfeb103e7bc56ba.tar.xz
linux-368633ce6853bb2ba678c7cb5bfeb103e7bc56ba.zip
rtl8xxxu: Remove unused variable
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
index fa8a92a68bc5..70543942e8d4 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.c
@@ -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;