diff options
author | David S. Miller <davem@davemloft.net> | 2011-12-13 16:44:22 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-12-13 16:44:22 -0500 |
commit | 5c3ddec73d01a1fae9409c197078cb02c42238c3 (patch) | |
tree | 574936e32ed759ed90cc5d6b29add6cfe825e734 /include | |
parent | 6edf91da43017b15b45604fcd332c19e3000c535 (diff) |
net: Remove unused neighbour layer ops.
It's simpler to just keep these things out until there is a real user
of them, so we can see what the needs actually are, rather than keep
these things around as useless overhead.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 1 | ||||
-rw-r--r-- | include/net/neighbour.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 603730804da..6b9d4edb7c2 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -974,7 +974,6 @@ struct net_device_ops { int (*ndo_set_features)(struct net_device *dev, netdev_features_t features); int (*ndo_neigh_construct)(struct neighbour *n); - void (*ndo_neigh_destroy)(struct neighbour *n); }; /* diff --git a/include/net/neighbour.h b/include/net/neighbour.h index e31f0a86f9b..6814c4d61c1 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h @@ -43,7 +43,6 @@ struct neigh_parms { #endif struct net_device *dev; struct neigh_parms *next; - int (*neigh_setup)(struct neighbour *); void (*neigh_cleanup)(struct neighbour *); struct neigh_table *tbl; |