net: remove ndo_neigh_{construct, destroy} from stacked devices
authorIdo Schimmel <idosch@mellanox.com>
Mon, 6 Feb 2017 15:20:14 +0000 (16:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2017 16:25:57 +0000 (11:25 -0500)
commita8eca326151ee1beac82a4fd86d9edad3a37aaed
tree78be26268b991ac647680cde9c968d924f912dbd
parent5c8802f14a0679e970e7b25f809a12c3ae1a873d
net: remove ndo_neigh_{construct, destroy} from stacked devices

In commit 18bfb924f000 ("net: introduce default neigh_construct/destroy
ndo calls for L2 upper devices") we added these ndos to stacked devices
such as team and bond, so that calls will be propagated to mlxsw.

However, previous commit removed the reliance on these ndos and no new
users of these ndos have appeared since above mentioned commit. We can
therefore safely remove this dead code.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/team/team.c
include/linux/netdevice.h
net/8021q/vlan_dev.c
net/bridge/br_device.c
net/core/dev.c