summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorCalvin Johnson <calvin.johnson@nxp.com>2017-10-27 05:50:47 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-12-12 07:32:32 (GMT)
commit6fcb5654da3a9e3eb0a81bce5f94fa0913bca4fd (patch)
tree4127aaed52f60e627010592d1998beef121216aa /drivers/staging
parent33753ff1aee7ca9abf1832dbab5b50235a6c829b (diff)
downloadlinux-6fcb5654da3a9e3eb0a81bce5f94fa0913bca4fd.tar.xz
staging: fsl_ppfe/eth: Make phy_ethtool_ksettings_get return void
Make return value void since function never return meaningful value Signed-off-by: Calvin Johnson <calvin.johnson@nxp.com>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/fsl_ppfe/pfe_eth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/staging/fsl_ppfe/pfe_eth.c b/drivers/staging/fsl_ppfe/pfe_eth.c
index 02cd7c5..b73b2d5 100644
--- a/drivers/staging/fsl_ppfe/pfe_eth.c
+++ b/drivers/staging/fsl_ppfe/pfe_eth.c
@@ -577,7 +577,9 @@ static int pfe_eth_get_settings(struct net_device *ndev,
if (!phydev)
return -ENODEV;
- return phy_ethtool_ksettings_get(phydev, cmd);
+ phy_ethtool_ksettings_get(phydev, cmd);
+
+ return 0;
}
/*