diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-05 16:32:03 -0500 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2009-11-12 05:05:06 -0500 |
commit | f8572d8f2a2ba75408b97dc24ef47c83671795d7 (patch) | |
tree | 052506a457939fea00d138d3a982d778df34e14c /include | |
parent | 86b1bc68e2f4244e4ea5db5458df9d19259fbb30 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/dn_dev.h | 1 | ||||
-rw-r--r-- | include/net/neighbour.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/net/dn_dev.h b/include/net/dn_dev.h index cee46821dc53..3f781a4cafbe 100644 --- a/include/net/dn_dev.h +++ b/include/net/dn_dev.h | |||
@@ -75,7 +75,6 @@ struct dn_dev_parms { | |||
75 | unsigned long t3; /* Default value of t3 */ | 75 | unsigned long t3; /* Default value of t3 */ |
76 | int priority; /* Priority to be a router */ | 76 | int priority; /* Priority to be a router */ |
77 | char *name; /* Name for sysctl */ | 77 | char *name; /* Name for sysctl */ |
78 | int ctl_name; /* Index for sysctl */ | ||
79 | int (*up)(struct net_device *); | 78 | int (*up)(struct net_device *); |
80 | void (*down)(struct net_device *); | 79 | void (*down)(struct net_device *); |
81 | void (*timer3)(struct net_device *, struct dn_ifaddr *ifa); | 80 | void (*timer3)(struct net_device *, struct dn_ifaddr *ifa); |
diff --git a/include/net/neighbour.h b/include/net/neighbour.h index 3817fda82a80..da99fdd63cf5 100644 --- a/include/net/neighbour.h +++ b/include/net/neighbour.h | |||
@@ -264,8 +264,7 @@ extern int neigh_sysctl_register(struct net_device *dev, | |||
264 | struct neigh_parms *p, | 264 | struct neigh_parms *p, |
265 | int p_id, int pdev_id, | 265 | int p_id, int pdev_id, |
266 | char *p_name, | 266 | char *p_name, |
267 | proc_handler *proc_handler, | 267 | proc_handler *proc_handler); |
268 | ctl_handler *strategy); | ||
269 | extern void neigh_sysctl_unregister(struct neigh_parms *p); | 268 | extern void neigh_sysctl_unregister(struct neigh_parms *p); |
270 | 269 | ||
271 | static inline void __neigh_parms_put(struct neigh_parms *parms) | 270 | static inline void __neigh_parms_put(struct neigh_parms *parms) |