aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/apm
diff options
context:
space:
mode:
authorIyappan Subramanian <isubramanian@apm.com>2017-09-05 11:16:32 -0700
committerDavid S. Miller <davem@davemloft.net>2017-09-05 14:58:25 -0700
commitf098003a7ee00c92e8ed7a8f8a49e4bd15f35bdd (patch)
tree0c42bd60b3049f3e31bd1c05111dc9cd6d68fda1 /drivers/net/ethernet/apm
parentdrivers: net: xgene: Configure tx/rx delay for ACPI (diff)
downloadlinux-dev-f098003a7ee00c92e8ed7a8f8a49e4bd15f35bdd.tar.xz
linux-dev-f098003a7ee00c92e8ed7a8f8a49e4bd15f35bdd.zip
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>
Diffstat (limited to 'drivers/net/ethernet/apm')
-rw-r--r--drivers/net/ethernet/apm/xgene/xgene_enet_main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
index 655c0fc34d8a..3b889efddf78 100644
--- a/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
+++ b/drivers/net/ethernet/apm/xgene/xgene_enet_main.c
@@ -1674,8 +1674,6 @@ static void xgene_enet_check_phy_handle(struct xgene_enet_pdata *pdata)
ret = xgene_enet_phy_connect(pdata->ndev);
if (!ret)
pdata->mdio_driver = true;
-
- return;
}
static void xgene_enet_gpiod_get(struct xgene_enet_pdata *pdata)