drivers: net: xgene: Remove return statement from void function
commit 183db4 ("drivers: net: xgene: Correct probe sequence handling") changed the return type of xgene_enet_check_phy_handle() to void. This patch, removes the return statement from the last line. Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5e338b3664
commit
f098003a7e
|
@ -1674,8 +1674,6 @@ static void xgene_enet_check_phy_handle(struct xgene_enet_pdata *pdata)
|
||||||
ret = xgene_enet_phy_connect(pdata->ndev);
|
ret = xgene_enet_phy_connect(pdata->ndev);
|
||||||
if (!ret)
|
if (!ret)
|
||||||
pdata->mdio_driver = true;
|
pdata->mdio_driver = true;
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xgene_enet_gpiod_get(struct xgene_enet_pdata *pdata)
|
static void xgene_enet_gpiod_get(struct xgene_enet_pdata *pdata)
|
||||||
|
|
Loading…
Reference in New Issue