neighbour: Remove unused function declaration pneigh_for_each()
authorYue Haibing <yuehaibing@huawei.com>
Sat, 5 Aug 2023 10:50:33 +0000 (18:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2023 07:53:54 +0000 (08:53 +0100)
pneigh_for_each() is never implemented since the beginning of git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/neighbour.h

index f6a8ecc6b1fa7cf8cee4eac9193efeae046e75e6..6da68886fabbcb33a63ef256242d51a618571c95 100644 (file)
@@ -394,8 +394,6 @@ void neigh_for_each(struct neigh_table *tbl,
 void __neigh_for_each_release(struct neigh_table *tbl,
                              int (*cb)(struct neighbour *));
 int neigh_xmit(int fam, struct net_device *, const void *, struct sk_buff *);
-void pneigh_for_each(struct neigh_table *tbl,
-                    void (*cb)(struct pneigh_entry *));
 
 struct neigh_seq_state {
        struct seq_net_private p;