Commit 11029d03 authored by Fabian Frederick's avatar Fabian Frederick Committed by David S. Miller

i40evf: remove unnecessary break after goto

Signed-off-by: default avatarFabian Frederick <fabf@skynet.be>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 3ec9fa75
...@@ -2013,7 +2013,6 @@ static void i40evf_init_task(struct work_struct *work) ...@@ -2013,7 +2013,6 @@ static void i40evf_init_task(struct work_struct *work)
} }
adapter->state = __I40EVF_INIT_VERSION_CHECK; adapter->state = __I40EVF_INIT_VERSION_CHECK;
goto restart; goto restart;
break;
case __I40EVF_INIT_VERSION_CHECK: case __I40EVF_INIT_VERSION_CHECK:
if (!i40evf_asq_done(hw)) { if (!i40evf_asq_done(hw)) {
dev_err(&pdev->dev, "Admin queue command never completed\n"); dev_err(&pdev->dev, "Admin queue command never completed\n");
...@@ -2039,7 +2038,6 @@ static void i40evf_init_task(struct work_struct *work) ...@@ -2039,7 +2038,6 @@ static void i40evf_init_task(struct work_struct *work)
} }
adapter->state = __I40EVF_INIT_GET_RESOURCES; adapter->state = __I40EVF_INIT_GET_RESOURCES;
goto restart; goto restart;
break;
case __I40EVF_INIT_GET_RESOURCES: case __I40EVF_INIT_GET_RESOURCES:
/* aq msg sent, awaiting reply */ /* aq msg sent, awaiting reply */
if (!adapter->vf_res) { if (!adapter->vf_res) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment