net: phy: fixed_phy: remove two function stubs
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: fixed_phy: remove two function stubs
Remove stubs for fixed_phy_set_link_update() andfixed_phy_change_carrier() because all callers
(actually just one per function) select config
symbol FIXED_PHY.
Signed-off-by Heiner Kallweit <[email protected]>
--- include/linux/phy_fixed.h | 10 ---------- 1 file changed, 10 deletions(-)
include/linux/phy_fixed.h +0 -10
@@ -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 */
Signature · 1 line
2.51.0
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Wed, 10 Sep 2025 22:42:47 +0200 you wrote:
Remove stubs for
fixed_phy_set_link_update()andfixed_phy_change_carrier()because all callers
(actually just one per function) select config
symbolFIXED_PHY.Signed-off-by Heiner Kallweit <[email protected]>[...]
Here is the summary with links:
- [net-next] net: phy: fixed_phy: remove two function stubs
https://git.kernel.org/netdev/net-next/c/5f790208d68f
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html