net: remove never used forwarding_accel_ops pointer from net_device

This change “net: remove never used forwarding_accel_ops pointer from net_device” (commit 0117ec1) in Linux kernel is authored by Hannes Frederic Sowa <hannes [at] stressinduktion.org> on Mon Mar 23 18:40:02 2015 +0100.

Description of "net: remove never used forwarding_accel_ops pointer from net_device"

The change “net: remove never used forwarding_accel_ops pointer from net_device” introduces changes as follows.

net: remove never used forwarding_accel_ops pointer from net_device

Cc: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Linux kernel releases containing commit 0117ec1

The Linux kernel releases containing this commit are as follows.

Linux kernel code changes from "net: remove never used forwarding_accel_ops pointer from net_device"

There are 2 lines of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 include/linux/netdevice.h | 2 --
 1 file changed, 2 deletions(-)
 
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 5ae69e7df867..08c4ab37189f 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1342,7 +1342,6 @@ enum netdev_priv_flags {
  *	@netdev_ops:	Includes several pointers to callbacks,
  *			if one wants to override the ndo_*() functions
  *	@ethtool_ops:	Management operations
- *	@fwd_ops:	Management operations
  *	@header_ops:	Includes callbacks for creating,parsing,caching,etc
  *			of Layer 2 headers.
  *
@@ -1551,7 +1550,6 @@ struct net_device {
 #endif
 	const struct net_device_ops *netdev_ops;
 	const struct ethtool_ops *ethtool_ops;
-	const struct forwarding_accel_ops *fwd_ops;
 #ifdef CONFIG_NET_SWITCHDEV
 	const struct swdev_ops *swdev_ops;
 #endif

The commit for this change in Linux stable tree is 0117ec1 (patch).

Last modified: 2020/02/10