From: Modestas Stankus Date: Thu, 31 Jul 2014 19:33:35 +0000 (+0300) Subject: staging: wlan-ng: coding style problem fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0e1fc793c7e42308dddad103a195dd261c5bf650;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: wlan-ng: coding style problem fix WARNING: break is not useful after a goto or return 201: FILE: drivers/staging/wlan-ng/p80211conv.c:201: + return 1; + break; Signed-off-by: Modestas Stankus Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wlan-ng/p80211conv.c b/drivers/staging/wlan-ng/p80211conv.c index 913676e1797e..3b5468c64fde 100644 --- a/drivers/staging/wlan-ng/p80211conv.c +++ b/drivers/staging/wlan-ng/p80211conv.c @@ -198,7 +198,6 @@ int skb_ether_to_p80211(wlandevice_t *wlandev, u32 ethconv, netdev_err(wlandev->netdev, "Error: Converting eth to wlan in unknown mode.\n"); return 1; - break; } p80211_wep->data = NULL;