diff options
author | Ido Schimmel <idosch@mellanox.com> | 2017-02-06 18:20:14 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-06 19:25:57 +0300 |
commit | a8eca326151ee1beac82a4fd86d9edad3a37aaed (patch) | |
tree | 78be26268b991ac647680cde9c968d924f912dbd /net/bridge | |
parent | 5c8802f14a0679e970e7b25f809a12c3ae1a873d (diff) | |
download | linux-a8eca326151ee1beac82a4fd86d9edad3a37aaed.tar.xz |
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>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_device.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/bridge/br_device.c b/net/bridge/br_device.c index 6c46d1b4cdbb..5ba0b558f8ae 100644 --- a/net/bridge/br_device.c +++ b/net/bridge/br_device.c @@ -347,8 +347,6 @@ static const struct net_device_ops br_netdev_ops = { .ndo_add_slave = br_add_slave, .ndo_del_slave = br_del_slave, .ndo_fix_features = br_fix_features, - .ndo_neigh_construct = netdev_default_l2upper_neigh_construct, - .ndo_neigh_destroy = netdev_default_l2upper_neigh_destroy, .ndo_fdb_add = br_fdb_add, .ndo_fdb_del = br_fdb_delete, .ndo_fdb_dump = br_fdb_dump, |