diff mbox series

[net-next] neighbour: Remove unused function declaration pneigh_for_each()

Message ID 20230805105033.45700-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit 047551cd305ce2f51f8cf16ed5638f1e120f90af
Delegated to: Netdev Maintainers
Headers show
Series [net-next] neighbour: Remove unused function declaration pneigh_for_each() | expand

Checks

Context Check Description
netdev/series_format success Single patches do not need cover letters
netdev/tree_selection success Clearly marked for net-next
netdev/fixes_present success Fixes tag not required for -next series
netdev/header_inline success No static functions without inline keyword in header files
netdev/build_32bit success Errors and warnings before: 3849 this patch: 3849
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/build_clang success Errors and warnings before: 1882 this patch: 1882
netdev/verify_signedoff success Signed-off-by tag matches author and committer
netdev/deprecated_api success None detected
netdev/check_selftest success No net selftest shell script
netdev/verify_fixes success No Fixes tag
netdev/build_allmodconfig_warn success Errors and warnings before: 4020 this patch: 4020
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 8 lines checked
netdev/kdoc success Errors and warnings before: 0 this patch: 0
netdev/source_inline success Was 0 now: 0

Commit Message

Yue Haibing Aug. 5, 2023, 10:50 a.m. UTC
pneigh_for_each() is never implemented since the beginning of git history.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 include/net/neighbour.h | 2 --
 1 file changed, 2 deletions(-)

Comments

David Ahern Aug. 7, 2023, 1:07 a.m. UTC | #1
On 8/5/23 4:50 AM, Yue Haibing wrote:
> pneigh_for_each() is never implemented since the beginning of git history.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/neighbour.h | 2 --
>  1 file changed, 2 deletions(-)
> 

Reviewed-by: David Ahern <dsahern@kernel.org>
patchwork-bot+netdevbpf@kernel.org Aug. 7, 2023, 8 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <davem@davemloft.net>:

On Sat, 5 Aug 2023 18:50:33 +0800 you wrote:
> pneigh_for_each() is never implemented since the beginning of git history.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/neighbour.h | 2 --
>  1 file changed, 2 deletions(-)

Here is the summary with links:
  - [net-next] neighbour: Remove unused function declaration pneigh_for_each()
    https://git.kernel.org/netdev/net-next/c/047551cd305c

You are awesome, thank you!
diff mbox series

Patch

diff --git a/include/net/neighbour.h b/include/net/neighbour.h
index f6a8ecc6b1fa..6da68886fabb 100644
--- a/include/net/neighbour.h
+++ b/include/net/neighbour.h
@@ -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;