mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 14:54:20 -04:00
sysctl net: Remove unused binary sysctl code
Now that sys_sysctl is a compatiblity wrapper around /proc/sys all sysctl strategy routines, and all ctl_name and strategy entries in the sysctl tables are unused, and can be revmoed. In addition neigh_sysctl_register has been modified to no longer take a strategy argument and it's callers have been modified not to pass one. Cc: "David Miller" <davem@davemloft.net> Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Cc: netdev@vger.kernel.org Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
This commit is contained in:
@@ -75,7 +75,6 @@ struct dn_dev_parms {
|
||||
unsigned long t3; /* Default value of t3 */
|
||||
int priority; /* Priority to be a router */
|
||||
char *name; /* Name for sysctl */
|
||||
int ctl_name; /* Index for sysctl */
|
||||
int (*up)(struct net_device *);
|
||||
void (*down)(struct net_device *);
|
||||
void (*timer3)(struct net_device *, struct dn_ifaddr *ifa);
|
||||
|
||||
@@ -264,8 +264,7 @@ extern int neigh_sysctl_register(struct net_device *dev,
|
||||
struct neigh_parms *p,
|
||||
int p_id, int pdev_id,
|
||||
char *p_name,
|
||||
proc_handler *proc_handler,
|
||||
ctl_handler *strategy);
|
||||
proc_handler *proc_handler);
|
||||
extern void neigh_sysctl_unregister(struct neigh_parms *p);
|
||||
|
||||
static inline void __neigh_parms_put(struct neigh_parms *parms)
|
||||
|
||||
Reference in New Issue
Block a user