staging: wlan-ng: coding style problem fix
authorModestas Stankus <stankus.modestas@gmail.com>
Thu, 31 Jul 2014 19:33:35 +0000 (22:33 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 22:00:18 +0000 (15:00 -0700)
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 <stankus.modestas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211conv.c

index 913676e..3b5468c 100644 (file)
@@ -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;