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 2553ed5d2ece2f644e56b6b86d44c90184a6942c..0a7f2e77557f63eb8920c0b80c9552ec17e056ec 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 "";
 };