diff mbox series

[net-next] ndisc: Remove unused ndisc_ifinfo_sysctl_strategy() declaration

Message ID 20230805105354.35008-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit 2c6af36beb2e7e0066a74bc930e562f66ad88bb6
Delegated to: Netdev Maintainers
Headers show
Series [net-next] ndisc: Remove unused ndisc_ifinfo_sysctl_strategy() declaration | 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: 3127 this patch: 3127
netdev/cc_maintainers success CCed 5 of 5 maintainers
netdev/build_clang success Errors and warnings before: 1575 this patch: 1575
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: 3289 this patch: 3289
netdev/checkpatch success total: 0 errors, 0 warnings, 0 checks, 9 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:53 a.m. UTC
Commit f8572d8f2a2b ("sysctl net: Remove unused binary sysctl code")
left behind this declaration.

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

Comments

David Ahern Aug. 7, 2023, 1:07 a.m. UTC | #1
On 8/5/23 4:53 AM, Yue Haibing wrote:
> Commit f8572d8f2a2b ("sysctl net: Remove unused binary sysctl code")
> left behind this declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/ndisc.h | 3 ---
>  1 file changed, 3 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:53:54 +0800 you wrote:
> Commit f8572d8f2a2b ("sysctl net: Remove unused binary sysctl code")
> left behind this declaration.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
> ---
>  include/net/ndisc.h | 3 ---
>  1 file changed, 3 deletions(-)

Here is the summary with links:
  - [net-next] ndisc: Remove unused ndisc_ifinfo_sysctl_strategy() declaration
    https://git.kernel.org/netdev/net-next/c/2c6af36beb2e

You are awesome, thank you!
diff mbox series

Patch

diff --git a/include/net/ndisc.h b/include/net/ndisc.h
index 52eae0943433..9bbdf6eaa942 100644
--- a/include/net/ndisc.h
+++ b/include/net/ndisc.h
@@ -488,9 +488,6 @@  void igmp6_event_report(struct sk_buff *skb);
 #ifdef CONFIG_SYSCTL
 int ndisc_ifinfo_sysctl_change(struct ctl_table *ctl, int write,
 			       void *buffer, size_t *lenp, loff_t *ppos);
-int ndisc_ifinfo_sysctl_strategy(struct ctl_table *ctl,
-				 void __user *oldval, size_t __user *oldlenp,
-				 void __user *newval, size_t newlen);
 #endif
 
 void inet6_ifinfo_notify(int event, struct inet6_dev *idev);