summaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorFlorian Fainelli2019-02-27 20:44:32 +0100
committerDavid S. Miller2019-02-27 21:39:56 +0100
commit3d705f07d16b1d872c556b4ebf44deabeca0e9c1 (patch)
tree6a3cb2d5ae7b60ab72a8d07374a5beebae2c8a80 /include/linux/netdevice.h
parentnet: switchdev: Replace port attr set SDO with a notification (diff)
downloadkernel-qcow2-linux-3d705f07d16b1d872c556b4ebf44deabeca0e9c1.tar.gz
kernel-qcow2-linux-3d705f07d16b1d872c556b4ebf44deabeca0e9c1.tar.xz
kernel-qcow2-linux-3d705f07d16b1d872c556b4ebf44deabeca0e9c1.zip
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 {
#endif
const struct net_device_ops *netdev_ops;
const struct ethtool_ops *ethtool_ops;
-#ifdef CONFIG_NET_SWITCHDEV
- const struct switchdev_ops *switchdev_ops;
-#endif
#ifdef CONFIG_NET_L3_MASTER_DEV
const struct l3mdev_ops *l3mdev_ops;
#endif