diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2025-09-10 22:42:47 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-09-11 17:19:40 -0700 |
commit | 5f790208d68fe1526c751dc2af366c7b552b8631 (patch) | |
tree | 69666efe3af6b7a07fb9c69e0c69c079a089baad | |
parent | 5adf6f2b9972dbb69f4dd11bae52ba251c64ecb7 (diff) |
net: phy: fixed_phy: remove two function stubs
Remove stubs for fixed_phy_set_link_update() and
fixed_phy_change_carrier() because all callers
(actually just one per function) select config
symbol FIXED_PHY.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/8729170d-cf39-48d9-aabc-c9aa4acda070@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
-rw-r--r-- | include/linux/phy_fixed.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h index 6227a1bdefec..d17ff750c708 100644 --- a/include/linux/phy_fixed.h +++ b/include/linux/phy_fixed.h @@ -37,16 +37,6 @@ fixed_phy_register(const struct fixed_phy_status *status, static inline void fixed_phy_unregister(struct phy_device *phydev) { } -static inline int fixed_phy_set_link_update(struct phy_device *phydev, - int (*link_update)(struct net_device *, - struct fixed_phy_status *)) -{ - return -ENODEV; -} -static inline int fixed_phy_change_carrier(struct net_device *dev, bool new_carrier) -{ - return -EINVAL; -} #endif /* CONFIG_FIXED_PHY */ #endif /* __PHY_FIXED_H */ |