brcm80211: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:16:11 +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/brcm80211/brcmfmac/p2p.c
drivers/net/wireless/brcm80211/brcmsmac/phy/phy_n.c

index 588fdbdb325539bf8e774464594e9646041389bd..057b982ea8b37f90792fc53ca9337a9f13897e32 100644 (file)
@@ -2364,7 +2364,6 @@ int brcmf_p2p_del_vif(struct wiphy *wiphy, struct wireless_dev *wdev)
                return 0;
        default:
                return -ENOTSUPP;
-               break;
        }
 
        clear_bit(BRCMF_P2P_STATUS_GO_NEG_PHASE, &p2p->status);
index 3e9f5b25be637d0891352be92cea018e8855bfb4..93869e89aa3dcf9794f56ea505d35d47c34e780c 100644 (file)
@@ -22916,7 +22916,6 @@ static void wlc_phy_rssi_cal_nphy_rev2(struct brcms_phy *pi, u8 rssi_type)
                break;
        default:
                return;
-               break;
        }
 
        classif_state = wlc_phy_classifier_nphy(pi, 0, 0);