net: Remove switchdev_ops
authorFlorian Fainelli <f.fainelli@gmail.com>
Wed, 27 Feb 2019 19:44:32 +0000 (11:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 Feb 2019 20:39:56 +0000 (12:39 -0800)
commit3d705f07d16b1d872c556b4ebf44deabeca0e9c1
tree6a3cb2d5ae7b60ab72a8d07374a5beebae2c8a80
parentd45224d604c5ba6ac5f9d6fddbe1d058c81dee80
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>
drivers/net/ethernet/mellanox/mlxsw/spectrum.c
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c
drivers/net/ethernet/mscc/ocelot.c
drivers/net/ethernet/rocker/rocker_main.c
drivers/staging/fsl-dpaa2/ethsw/ethsw.c
include/linux/netdevice.h
include/net/switchdev.h
net/dsa/slave.c