diff options
author | Calvin Johnson <calvin.johnson@nxp.com> | 2017-10-27 05:50:47 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-12-12 07:32:32 (GMT) |
commit | 6fcb5654da3a9e3eb0a81bce5f94fa0913bca4fd (patch) | |
tree | 4127aaed52f60e627010592d1998beef121216aa /drivers/staging | |
parent | 33753ff1aee7ca9abf1832dbab5b50235a6c829b (diff) | |
download | linux-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.c | 4 |
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; } /* |