mirror of https://gitee.com/openkylin/linux.git
i40e: remove unnecessary break after goto
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
3a087b2171
commit
3ec9fa7535
|
@ -417,7 +417,6 @@ static i40e_status i40e_create_lan_hmc_object(struct i40e_hw *hw,
|
|||
default:
|
||||
ret_code = I40E_ERR_INVALID_SD_TYPE;
|
||||
goto exit;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -502,7 +501,6 @@ i40e_status i40e_configure_lan_hmc(struct i40e_hw *hw,
|
|||
hw_dbg(hw, "i40e_configure_lan_hmc: Unknown SD type: %d\n",
|
||||
ret_code);
|
||||
goto configure_lan_hmc_out;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Configure and program the FPM registers so objects can be created */
|
||||
|
|
Loading…
Reference in New Issue