aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2019-03-02 17:10:36 +0100
committerDavid S. Miller <davem@davemloft.net>2019-03-03 21:47:42 -0800
commita6d0aa97f453cc1a13ba93428590ef4fd29d005a (patch)
tree77f18b5bf9d6303ff1ac1987c18375baf99c97fd /include/linux/phy.h
parentnet: phy: use genphy_c45_aneg_done in genphy_aneg_done (diff)
downloadlinux-dev-a6d0aa97f453cc1a13ba93428590ef4fd29d005a.tar.xz
linux-dev-a6d0aa97f453cc1a13ba93428590ef4fd29d005a.zip
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 '')
-rw-r--r--include/linux/phy.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h
index bfe60e2a5174..c69de3b87e87 100644
--- a/include/linux/phy.h
+++ b/include/linux/phy.h
@@ -1122,8 +1122,6 @@ int gen10g_config_aneg(struct phy_device *phydev);
int gen10g_read_status(struct phy_device *phydev);
int gen10g_no_soft_reset(struct phy_device *phydev);
int gen10g_config_init(struct phy_device *phydev);
-int gen10g_suspend(struct phy_device *phydev);
-int gen10g_resume(struct phy_device *phydev);
static inline int phy_read_status(struct phy_device *phydev)
{