diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-03-02 17:13:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-04 06:47:57 +0100 |
commit | 7be3ad848f77eba893bd08b97e7383e8d5e873ac (patch) | |
tree | 5a01c7bc9878996169117e00bb18e78c7ce0a1f9 /drivers/net/phy/phy-c45.c | |
parent | net: phy: don't export gen10g_read_status (diff) | |
download | linux-7be3ad848f77eba893bd08b97e7383e8d5e873ac.tar.xz linux-7be3ad848f77eba893bd08b97e7383e8d5e873ac.zip |
net: phy: remove gen10g_no_soft_reset
genphy_no_soft_reset and gen10g_no_soft_reset are both the same no-ops,
one is enough.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy-c45.c')
-rw-r--r-- | drivers/net/phy/phy-c45.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/net/phy/phy-c45.c b/drivers/net/phy/phy-c45.c index 6cd4bd5e9e43..c596eb54e4ac 100644 --- a/drivers/net/phy/phy-c45.c +++ b/drivers/net/phy/phy-c45.c @@ -508,18 +508,11 @@ static int gen10g_read_status(struct phy_device *phydev) return genphy_c45_read_link(phydev); } -int gen10g_no_soft_reset(struct phy_device *phydev) -{ - /* Do nothing for now */ - return 0; -} -EXPORT_SYMBOL_GPL(gen10g_no_soft_reset); - struct phy_driver genphy_10g_driver = { .phy_id = 0xffffffff, .phy_id_mask = 0xffffffff, .name = "Generic 10G PHY", - .soft_reset = gen10g_no_soft_reset, + .soft_reset = genphy_no_soft_reset, .features = PHY_10GBIT_FEATURES, .config_aneg = gen10g_config_aneg, .read_status = gen10g_read_status, |