ucc_geth: remove unnecessary break after return
authorFabian Frederick <fabf@skynet.be>
Sun, 20 Jul 2014 14:27:51 +0000 (16:27 +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/freescale/ucc_geth.c

index 36fc429298e353191cc93fa10140e298bc7cff85..8ceaf7a2660c8f3f38dc27ce71701a3290ce14d2 100644 (file)
@@ -2396,7 +2396,6 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth)
                if (netif_msg_ifup(ugeth))
                        pr_err("Bad number of Rx threads value\n");
                return -EINVAL;
-               break;
        }
 
        switch (ug_info->numThreadsTx) {
@@ -2419,7 +2418,6 @@ static int ucc_geth_startup(struct ucc_geth_private *ugeth)
                if (netif_msg_ifup(ugeth))
                        pr_err("Bad number of Tx threads value\n");
                return -EINVAL;
-               break;
        }
 
        /* Calculate rx_extended_features */