ps3_gelic: remove unnecessary break after goto
authorFabian Frederick <fabf@skynet.be>
Sat, 12 Jul 2014 18:09:44 +0000 (20:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jul 2014 06:45:24 +0000 (23:45 -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 d568af1eb4f4b4a49cbe032a39f6b7cf8b8ee3da..2553ed5d2ece2f644e56b6b86d44c90184a6942c 100644 (file)
@@ -723,13 +723,10 @@ static int gelic_wl_get_scan(struct net_device *netdev,
                /* If a scan in progress, caller should call me again */
                ret = -EAGAIN;
                goto out;
-               break;
-
        case GELIC_WL_SCAN_STAT_INIT:
                /* last scan request failed or never issued */
                ret = -ENODEV;
                goto out;
-               break;
        case GELIC_WL_SCAN_STAT_GOT_LIST:
                /* ok, use current list */
                break;