ps3_gelic: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:30:48 +0000 (16:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 04:30:19 +0000 (21:30 -0700)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/toshiba/ps3_gelic_wireless.c

index 2553ed5..0a7f2e7 100644 (file)
@@ -1828,25 +1828,18 @@ static const char *wpasecstr(enum gelic_eurus_wpa_security sec)
        switch (sec) {
        case GELIC_EURUS_WPA_SEC_NONE:
                return "NONE";
-               break;
        case GELIC_EURUS_WPA_SEC_WPA_TKIP_TKIP:
                return "WPA_TKIP_TKIP";
-               break;
        case GELIC_EURUS_WPA_SEC_WPA_TKIP_AES:
                return "WPA_TKIP_AES";
-               break;
        case GELIC_EURUS_WPA_SEC_WPA_AES_AES:
                return "WPA_AES_AES";
-               break;
        case GELIC_EURUS_WPA_SEC_WPA2_TKIP_TKIP:
                return "WPA2_TKIP_TKIP";
-               break;
        case GELIC_EURUS_WPA_SEC_WPA2_TKIP_AES:
                return "WPA2_TKIP_AES";
-               break;
        case GELIC_EURUS_WPA_SEC_WPA2_AES_AES:
                return "WPA2_AES_AES";
-               break;
        }
        return "";
 };