rtlwifi: rtl8192se: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:16:15 +0000 (16:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 04:29:50 +0000 (21:29 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/rtlwifi/rtl8192se/fw.c
drivers/net/wireless/rtlwifi/rtl8192se/hw.c

index 73fa4a1de4dfa46501da92e73ba26640c18ebc69..331b1584a1a2d27aae6871b0be096f58c45e318c 100644 (file)
@@ -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);
index 1c7101bcd79034c486be9713d99c19c335478cb6..00e067044c08d0a9cafa9009466eb22c21965d56 100644 (file)
@@ -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;
 
        }