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>
This commit is contained in:

committed by
David S. Miller

parent
d45224d604
commit
3d705f07d1
@@ -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
|
||||
|
Reference in New Issue
Block a user