aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2014-07-20 10:16:15 -0400
committerDavid S. Miller <davem@davemloft.net>2014-07-21 00:29:50 -0400
commit4a4730ceab8f9592fa74871a226e578ade3e7175 (patch)
treee01247f34e31c2de140af18578b245b86716e1f0
parent384f0fcdcb97813ef8254a4229b4762ab9224896 (diff)
rtlwifi: rtl8192se: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
-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 73fa4a1de4df..331b1584a1a2 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)
112 switch (rtlphy->rf_type) { 112 switch (rtlphy->rf_type) {
113 case RF_1T1R: 113 case RF_1T1R:
114 return 0x11; 114 return 0x11;
115 break;
116 case RF_1T2R: 115 case RF_1T2R:
117 return 0x12; 116 return 0x12;
118 break;
119 case RF_2T2R: 117 case RF_2T2R:
120 return 0x22; 118 return 0x22;
121 break;
122 default: 119 default:
123 RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown RF type(%x)\n", 120 RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown RF type(%x)\n",
124 rtlphy->rf_type); 121 rtlphy->rf_type);
diff --git a/drivers/net/wireless/rtlwifi/rtl8192se/hw.c b/drivers/net/wireless/rtlwifi/rtl8192se/hw.c
index 1c7101bcd790..00e067044c08 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,
1198 RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, 1198 RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
1199 "Network type %d not supported!\n", type); 1199 "Network type %d not supported!\n", type);
1200 return 1; 1200 return 1;
1201 break;
1202 1201
1203 } 1202 }
1204 1203