diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-03-02 17:10:36 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-03 21:47:42 -0800 |
commit | a6d0aa97f453cc1a13ba93428590ef4fd29d005a (patch) | |
tree | 77f18b5bf9d6303ff1ac1987c18375baf99c97fd /drivers | |
parent | d7bed825ba1264ab2244be5b547d7feedfacf811 (diff) |
net: phy: remove gen10g_suspend and gen10g_resume
phy_suspend() and phy_resume() are no-ops anyway if no callback is
defined. Therefore we don't need these stubs.
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')
-rw-r--r-- | drivers/net/phy/phy-c45.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/phy/phy-c45.c b/drivers/net/phy/phy-c45.c index 49e7cd08b05f..3ddbb9c32dda 100644 --- a/drivers/net/phy/phy-c45.c +++ b/drivers/net/phy/phy-c45.c @@ -529,18 +529,6 @@ int gen10g_config_init(struct phy_device *phydev) } EXPORT_SYMBOL_GPL(gen10g_config_init); -int gen10g_suspend(struct phy_device *phydev) -{ - return 0; -} -EXPORT_SYMBOL_GPL(gen10g_suspend); - -int gen10g_resume(struct phy_device *phydev) -{ - return 0; -} -EXPORT_SYMBOL_GPL(gen10g_resume); - struct phy_driver genphy_10g_driver = { .phy_id = 0xffffffff, .phy_id_mask = 0xffffffff, @@ -550,6 +538,4 @@ struct phy_driver genphy_10g_driver = { .features = PHY_10GBIT_FEATURES, .config_aneg = gen10g_config_aneg, .read_status = gen10g_read_status, - .suspend = gen10g_suspend, - .resume = gen10g_resume, }; |