mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 09:48:49 +07:00
ucc_geth: remove unnecessary break after return
Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f6ec2f3204
commit
56a7a06ab8
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user