diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-01-17 14:09:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-01-18 17:12:25 -0500 |
commit | bb658ab7b8f2828b35c207a95cb0c05965721022 (patch) | |
tree | 36132c101bee7156226713c6038de55babc073ea /include/linux/phy.h | |
parent | cbfd12b3e8c3542e8142aa041714ed614d3f67b0 (diff) |
net: phy: remove phy_stop_interrupts
Interrupts have been disabled in phy_stop() already. So we can remove
phy_stop_interrupts() and free the interrupt in phy_disconnect()
directly.
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 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 232d93b9cea4..0990f913d649 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h | |||
@@ -951,7 +951,6 @@ int phy_aneg_done(struct phy_device *phydev); | |||
951 | int phy_speed_down(struct phy_device *phydev, bool sync); | 951 | int phy_speed_down(struct phy_device *phydev, bool sync); |
952 | int phy_speed_up(struct phy_device *phydev); | 952 | int phy_speed_up(struct phy_device *phydev); |
953 | 953 | ||
954 | int phy_stop_interrupts(struct phy_device *phydev); | ||
955 | int phy_restart_aneg(struct phy_device *phydev); | 954 | int phy_restart_aneg(struct phy_device *phydev); |
956 | int phy_reset_after_clk_enable(struct phy_device *phydev); | 955 | int phy_reset_after_clk_enable(struct phy_device *phydev); |
957 | 956 | ||