summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/rtl8192se
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-20 16:16:15 +0200
committerDavid S. Miller <davem@davemloft.net>2014-07-20 21:29:50 -0700
commit4a4730ceab8f9592fa74871a226e578ade3e7175 (patch)
treee01247f34e31c2de140af18578b245b86716e1f0 /drivers/net/wireless/rtlwifi/rtl8192se
parent384f0fcdcb97813ef8254a4229b4762ab9224896 (diff)
downloadop-kernel-dev-4a4730ceab8f9592fa74871a226e578ade3e7175.zip
op-kernel-dev-4a4730ceab8f9592fa74871a226e578ade3e7175.tar.gz
rtlwifi: rtl8192se: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/wireless/rtlwifi/rtl8192se')
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192se/fw.c3
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192se/hw.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/fw.c b/drivers/net/wireless/rtlwifi/rtl8192se/fw.c
index 73fa4a1..331b158 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192se/fw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192se/fw.c
@@ -112,13 +112,10 @@ static u8 _rtl92s_firmware_header_map_rftype(struct ieee80211_hw *hw)
switch (rtlphy->rf_type) {
case RF_1T1R:
return 0x11;
- break;
case RF_1T2R:
return 0x12;
- break;
case RF_2T2R:
return 0x22;
- break;
default:
RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown RF type(%x)\n",
rtlphy->rf_type);
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c
index 1c7101b..00e0670 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c
@@ -1198,7 +1198,6 @@ static int _rtl92se_set_media_status(struct ieee80211_hw *hw,
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
"Network type %d not supported!\n", type);
return 1;
- break;
}
OpenPOWER on IntegriCloud