ethtool: Remove support for obsolete string query operations
Subsystems (3)
PATCH 4/4 ethtool: Remove support for obsolete string query operations
The in-tree implementations have all been converted to get_sset_count().
Signed-off-by Ben Hutchings <[email protected]>
--- include/linux/ethtool.h | 4 --- net/core/ethtool.c | 58 ++++++++-------------------------------------- 2 files changed, 10 insertions(+), 52 deletions(-)
include/linux/ethtool.h +0 -4
@@ -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.
From: Ben Hutchings <[email protected]>
Date: Thu, 01 Oct 2009 22:33:03 +0100
Quoted 4 lines
The in-tree implementations have all been converted to
get_sset_count().Signed-off-by Ben Hutchings <[email protected]>
Applied to net-next-2.6