summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorSupriya Karanth <iskaranth@gmail.com>2015-03-13 16:58:42 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-16 15:56:45 +0100
commit2a7089dbd1e8a9bec3d39efcb11c2eda6d5a95c0 (patch)
treea87e3fb162a2e1ef6b34fbc164c03c9876569476 /drivers/staging
parentd064f3b03cc1670359e59ff8d24c4719f50c3b63 (diff)
downloadlinux-2a7089dbd1e8a9bec3d39efcb11c2eda6d5a95c0.tar.bz2
staging: rtl8192u: remove break after return
Remove "break" statement after a "return" statement as it does not get executed. Found by checkpatch.pl - break is not useful after a goto or return Signed-off-by: Supriya Karanth <iskaranth@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
index dca5fa7f32ae..5f9ba77fa126 100644
--- a/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
+++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c
@@ -2115,7 +2115,6 @@ ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb,
break;
default:
return -1;
- break;
}
//dev_kfree_skb_any(skb);