i40evf: remove unnecessary break after goto
authorFabian Frederick <fabf@skynet.be>
Sat, 12 Jul 2014 18:09:43 +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/intel/i40evf/i40evf_main.c

index 1b980fb88cdde8c237c6f966cac681f282241c5b..ed1eb123052256c621f59290d349d22bd39d3cd3 100644 (file)
@@ -2013,7 +2013,6 @@ static void i40evf_init_task(struct work_struct *work)
                }
                adapter->state = __I40EVF_INIT_VERSION_CHECK;
                goto restart;
-               break;
        case __I40EVF_INIT_VERSION_CHECK:
                if (!i40evf_asq_done(hw)) {
                        dev_err(&pdev->dev, "Admin queue command never completed\n");
@@ -2039,7 +2038,6 @@ static void i40evf_init_task(struct work_struct *work)
                }
                adapter->state = __I40EVF_INIT_GET_RESOURCES;
                goto restart;
-               break;
        case __I40EVF_INIT_GET_RESOURCES:
                /* aq msg sent, awaiting reply */
                if (!adapter->vf_res) {