netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] include: mdio: Remove mdio45_ethtool_gset()
@ 2024-11-12 10:54 Alistair Francis
  2024-11-12 10:54 ` [PATCH 2/2] mdio: Remove mdio45_ethtool_gset_npage() Alistair Francis
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Alistair Francis @ 2024-11-12 10:54 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: linux, hkallweit1, andrew, alistair23, Alistair Francis

From: Alistair Francis <alistair.francis@wdc.com>

mdio45_ethtool_gset() is never called, so let's remove it.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
---
 include/linux/mdio.h | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/include/linux/mdio.h b/include/linux/mdio.h
index efeca5bd7600..c63f43645d50 100644
--- a/include/linux/mdio.h
+++ b/include/linux/mdio.h
@@ -173,22 +173,6 @@ mdio45_ethtool_ksettings_get_npage(const struct mdio_if_info *mdio,
 				   struct ethtool_link_ksettings *cmd,
 				   u32 npage_adv, u32 npage_lpa);
 
-/**
- * mdio45_ethtool_gset - get settings for ETHTOOL_GSET
- * @mdio: MDIO interface
- * @ecmd: Ethtool request structure
- *
- * Since the CSRs for auto-negotiation using next pages are not fully
- * standardised, this function does not attempt to decode them.  Use
- * mdio45_ethtool_gset_npage() to specify advertisement bits from next
- * pages.
- */
-static inline void mdio45_ethtool_gset(const struct mdio_if_info *mdio,
-				       struct ethtool_cmd *ecmd)
-{
-	mdio45_ethtool_gset_npage(mdio, ecmd, 0, 0);
-}
-
 /**
  * mdio45_ethtool_ksettings_get - get settings for ETHTOOL_GLINKSETTINGS
  * @mdio: MDIO interface
-- 
2.47.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-11-15  3:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12 10:54 [PATCH 1/2] include: mdio: Remove mdio45_ethtool_gset() Alistair Francis
2024-11-12 10:54 ` [PATCH 2/2] mdio: Remove mdio45_ethtool_gset_npage() Alistair Francis
2024-11-12 13:12   ` Russell King (Oracle)
2024-11-12 13:17 ` [PATCH 1/2] include: mdio: Remove mdio45_ethtool_gset() Andrew Lunn
2024-11-15  3:30 ` patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).