diff options
| author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2022-02-04 11:42:10 +0000 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-02-05 15:15:20 +0000 |
| commit | 0463e320421b313db320bbcf2928ebf49f556b67 (patch) | |
| tree | e4881fecceead175dcd5f282e7dc84e4d6136910 /drivers/net/phy/phylink.c | |
| parent | 95e26838a8e67be0e1f9a1c17c1ea138eb05fa8d (diff) | |
| download | cachepc-linux-0463e320421b313db320bbcf2928ebf49f556b67.tar.gz cachepc-linux-0463e320421b313db320bbcf2928ebf49f556b67.zip | |
net: phylink: remove phylink_set_10g_modes()
phylink_set_10g_modes() is no longer used with the conversion of
drivers to phylink_generic_validate(), so we can remove it.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phylink.c')
| -rw-r--r-- | drivers/net/phy/phylink.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/phy/phylink.c b/drivers/net/phy/phylink.c index 420201858564..5b53a3e23c89 100644 --- a/drivers/net/phy/phylink.c +++ b/drivers/net/phy/phylink.c @@ -132,17 +132,6 @@ void phylink_set_port_modes(unsigned long *mask) } EXPORT_SYMBOL_GPL(phylink_set_port_modes); -void phylink_set_10g_modes(unsigned long *mask) -{ - phylink_set(mask, 10000baseT_Full); - phylink_set(mask, 10000baseCR_Full); - phylink_set(mask, 10000baseSR_Full); - phylink_set(mask, 10000baseLR_Full); - phylink_set(mask, 10000baseLRM_Full); - phylink_set(mask, 10000baseER_Full); -} -EXPORT_SYMBOL_GPL(phylink_set_10g_modes); - static int phylink_is_empty_linkmode(const unsigned long *linkmode) { __ETHTOOL_DECLARE_LINK_MODE_MASK(tmp) = { 0, }; |
