net: phy: remove unused feature array declarations
Subsystems (3)
Heiner Kallweit
maintainerPATCH 1/1 net: phy: remove unused feature array declarations
After 12d5151be010 ("net: phy: remove leftovers from switch to linkmode bitmaps") the following declarations are unused and can be removed too.
--- include/linux/phy.h | 3 --- 1 file changed, 3 deletions(-)
include/linux/phy.h +0 -3
@@ -37,10 +37,7 @@ extern __ETHTOOL_DECLARE_LINK_MODE_MASK(phy_basic_t1_features) __ro_after_init;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_basic_t1s_p2mp_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_fibre_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_all_ports_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_fec_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_full_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_eee_cap1_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_eee_cap2_features)__ro_after_init ;
Signature · 1 line
2.48.1
Quoted 13 lines · Heiner Kallweit
After
12d5151be010("net: phy: remove leftovers from switch to linkmode bitmaps") the following declarations are unused and can be removed too.Signed-off-by Heiner Kallweit <[email protected]>--- include/linux/phy.h | 3 --- 1 file changed, 3 deletions(-)include/linux/phy.h +0
-0
include/linux/phy.h extern __ETHTOOL_DECLARE_LINK_MODE_MASK(phy_basic_t1_features) __ro_after_init; · line 43
Quoted 10 lines
include/linux/phy.h +0
-3@@ -37,10 +37,7 @@ extern __ETHTOOL_DECLARE_LINK_MODE_MASK(phy_basic_t1_features) __ro_after_init;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_basic_t1s_p2mp_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_fibre_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_all_ports_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_fec_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_full_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_eee_cap1_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_eee_cap2_features)__ro_after_init ;
Quoted 2 lines
Signature · 1 line
2.48.1
Quoted 13 lines · Heiner Kallweit
After
12d5151be010("net: phy: remove leftovers from switch to linkmode bitmaps") the following declarations are unused and can be removed too.Signed-off-by Heiner Kallweit <[email protected]>--- include/linux/phy.h | 3 --- 1 file changed, 3 deletions(-)include/linux/phy.h +0
-0
include/linux/phy.h extern __ETHTOOL_DECLARE_LINK_MODE_MASK(phy_basic_t1_features) __ro_after_init; · line 43
Quoted 10 lines
include/linux/phy.h +0
-3@@ -37,10 +37,7 @@ extern __ETHTOOL_DECLARE_LINK_MODE_MASK(phy_basic_t1_features) __ro_after_init;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_basic_t1s_p2mp_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_fibre_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_gbit_all_ports_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_fec_features)__ro_after_init ; -extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_10gbit_full_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_eee_cap1_features)__ro_after_init ;extern __ETHTOOL_DECLARE_LINK_MODE_MASK (phy_eee_cap2_features)__ro_after_init ;
Quoted 4 lines · Heiner Kallweit
After
12d5151be010("net: phy: remove leftovers from switch to linkmode bitmaps") the following declarations are unused and can be removed too.Signed-off-by Heiner Kallweit <[email protected]>
Thanks!
Signature · 2 lines
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!
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 7 lines · On Wed, 19 Feb 2025 21:15:05 +0100 you wrote:
After
12d5151be010("net: phy: remove leftovers from switch to linkmode bitmaps") the following declarations are unused and can be removed too.Signed-off-by Heiner Kallweit <[email protected]>--- include/linux/phy.h | 3 --- 1 file changed, 3 deletions(-)
Here is the summary with links:
- [net-next] net: phy: remove unused feature array declarations
https://git.kernel.org/netdev/net-next/c/bb3bb6c92e57
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html