ndisc: Remove unused ndisc_ifinfo_sysctl_strategy() declaration
authorYue Haibing <yuehaibing@huawei.com>
Sat, 5 Aug 2023 10:53:54 +0000 (18:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2023 07:53:55 +0000 (08:53 +0100)
Commit f8572d8f2a2b ("sysctl net: Remove unused binary sysctl code")
left behind this declaration.

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/ndisc.h

index 52eae09434335dae0d9602d5027f45100bb47253..9bbdf6eaa942c394f4747f4082bbe64607a1d77c 100644 (file)
@@ -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);