Skip to contentSkip to conversation

ethtool: Remove support for obsolete string query operations

PATCH Applied Ben Hutchings 2 participants 2 messages Oct 1, 2009 – Oct 5, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 4/4 ethtool: Remove support for obsolete string query operations

The in-tree implementations have all been converted to get_sset_count().

---
 include/linux/ethtool.h |    4 ---
 net/core/ethtool.c      |   58 ++++++++--------------------------------------
 2 files changed, 10 insertions(+), 52 deletions(-)
include/linux/ethtool.h +0 -4
index 15e4eb7..aa0dcb3 100644
@@ -495,10 +495,6 @@ struct ethtool_ops {
 	u32     (*get_priv_flags)(struct net_device *);
 	int     (*set_priv_flags)(struct net_device *, u32);
 	int	(*get_sset_count)(struct net_device *, int);
-
-	/* the following hooks are obsolete */
-	int	(*self_test_count)(struct net_device *);/* use get_sset_count */
-	int	(*get_stats_count)(struct net_device *);/* use get_sset_count */
 	int	(*get_rxnfc)(struct net_device *, struct ethtool_rxnfc *, void *);
 	int	(*set_rxnfc)(struct net_device *, struct ethtool_rxnfc *);
 	int     (*flash_device)(struct net_device *, struct ethtool_flash *);
net/core/ethtool.c +10 -48

91 lines not on this page · raw message

Signature · 3 lines
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.