You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
755 B
Diff
27 lines
755 B
Diff
From 48d54be45c3b8735f90792e6480e7d6cf0ec1586 Mon Sep 17 00:00:00 2001
|
|
From: Calvin Johnson <calvin.johnson@nxp.com>
|
|
Date: Fri, 27 Oct 2017 11:20:47 +0530
|
|
Subject: [PATCH] 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>
|
|
---
|
|
drivers/staging/fsl_ppfe/pfe_eth.c | 4 +++-
|
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
|
|
|
--- 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 n
|
|
if (!phydev)
|
|
return -ENODEV;
|
|
|
|
- return phy_ethtool_ksettings_get(phydev, cmd);
|
|
+ phy_ethtool_ksettings_get(phydev, cmd);
|
|
+
|
|
+ return 0;
|
|
}
|
|
|
|
/*
|