summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2019-02-27 14:44:32 -0500
committerDavid S. Miller <davem@davemloft.net>2019-02-27 15:39:56 -0500
commit3d705f07d16b1d872c556b4ebf44deabeca0e9c1 (patch)
tree6a3cb2d5ae7b60ab72a8d07374a5beebae2c8a80 /include/linux/netdevice.h
parentd45224d604c5ba6ac5f9d6fddbe1d058c81dee80 (diff)
net: Remove switchdev_ops
Now that we have converted all possible callers to using a switchdev notifier for attributes we do not have a need for implementing switchdev_ops anymore, and this can be removed from all drivers the net_device structure. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 58e83bd7a861..c10b60297d28 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1843,9 +1843,6 @@ struct net_device {
1843#endif 1843#endif
1844 const struct net_device_ops *netdev_ops; 1844 const struct net_device_ops *netdev_ops;
1845 const struct ethtool_ops *ethtool_ops; 1845 const struct ethtool_ops *ethtool_ops;
1846#ifdef CONFIG_NET_SWITCHDEV
1847 const struct switchdev_ops *switchdev_ops;
1848#endif
1849#ifdef CONFIG_NET_L3_MASTER_DEV 1846#ifdef CONFIG_NET_L3_MASTER_DEV
1850 const struct l3mdev_ops *l3mdev_ops; 1847 const struct l3mdev_ops *l3mdev_ops;
1851#endif 1848#endif