Commit 4a4730ce authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

rtlwifi: rtl8192se: remove unnecessary break after return

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 384f0fcd
...@@ -112,13 +112,10 @@ static u8 _rtl92s_firmware_header_map_rftype(struct ieee80211_hw *hw) ...@@ -112,13 +112,10 @@ static u8 _rtl92s_firmware_header_map_rftype(struct ieee80211_hw *hw)
switch (rtlphy->rf_type) { switch (rtlphy->rf_type) {
case RF_1T1R: case RF_1T1R:
return 0x11; return 0x11;
break;
case RF_1T2R: case RF_1T2R:
return 0x12; return 0x12;
break;
case RF_2T2R: case RF_2T2R:
return 0x22; return 0x22;
break;
default: default:
RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown RF type(%x)\n", RT_TRACE(rtlpriv, COMP_INIT, DBG_EMERG, "Unknown RF type(%x)\n",
rtlphy->rf_type); rtlphy->rf_type);
......
...@@ -1198,7 +1198,6 @@ static int _rtl92se_set_media_status(struct ieee80211_hw *hw, ...@@ -1198,7 +1198,6 @@ static int _rtl92se_set_media_status(struct ieee80211_hw *hw,
RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG, RT_TRACE(rtlpriv, COMP_ERR, DBG_EMERG,
"Network type %d not supported!\n", type); "Network type %d not supported!\n", type);
return 1; return 1;
break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment