diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2025-02-14 00:51:53 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-02-15 04:07:46 +0300 |
commit | 6b2edfba74696e0defd181989c9effe911e6f54f (patch) | |
tree | 05c0cf449899acc29ef78d7fcbe146a500deed8e /include/linux/phy.h | |
parent | ef6249e37df5eac72bacdfe0a3000b08ae153146 (diff) | |
download | linux-6b2edfba74696e0defd181989c9effe911e6f54f.tar.xz |
net: phy: remove helper phy_is_internal
Helper phy_is_internal() is just used in two places phylib-internally.
So let's remove it from the API.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Mateusz Polchlopek <mateusz.polchlopek@intel.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/f3f35265-80a9-4ed7-ad78-ae22c21e288b@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/phy.h')
-rw-r--r-- | include/linux/phy.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 2ab83d24a573..3665cdd610a3 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -1740,15 +1740,6 @@ static inline bool phy_is_default_hwtstamp(struct phy_device *phydev) } /** - * phy_is_internal - Convenience function for testing if a PHY is internal - * @phydev: the phy_device struct - */ -static inline bool phy_is_internal(struct phy_device *phydev) -{ - return phydev->is_internal; -} - -/** * phy_on_sfp - Convenience function for testing if a PHY is on an SFP module * @phydev: the phy_device struct */ |