diff options
| author | Leon Romanovsky <leonro@nvidia.com> | 2023-03-08 11:23:13 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 15:39:59 +0200 |
| commit | bd1c9c2bd6a3b9722d3f1e5b4583936e49841dec (patch) | |
| tree | 956bae5adbd9248bc26abcb41648f2ba2824f22b /include | |
| parent | d70ab0d6261a53e841a4294fb8581f1fe2bbd454 (diff) | |
| download | linux-bd1c9c2bd6a3b9722d3f1e5b4583936e49841dec.tar.gz linux-bd1c9c2bd6a3b9722d3f1e5b4583936e49841dec.tar.bz2 linux-bd1c9c2bd6a3b9722d3f1e5b4583936e49841dec.zip | |
neighbour: delete neigh_lookup_nodev as not used
commit 76b9bf965c98c9b53ef7420b3b11438dbd764f92 upstream.
neigh_lookup_nodev isn't used in the kernel after removal
of DECnet. So let's remove it.
Fixes: 1202cdd66531 ("Remove DECnet support from kernel")
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Reviewed-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Link: https://lore.kernel.org/r/eb5656200d7964b2d177a36b77efa3c597d6d72d.1678267343.git.leonro@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/net/neighbour.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/neighbour.h b/include/net/neighbour.h index a735f034a00e..e58ef9e338de 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h @@ -300,8 +300,6 @@ void neigh_table_init(int index, struct neigh_table *tbl); int neigh_table_clear(int index, struct neigh_table *tbl); struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, struct net_device *dev); -struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, - const void *pkey); struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, struct net_device *dev, bool want_ref); static inline struct neighbour *neigh_create(struct neigh_table *tbl, |
