[IPV4]: possible cleanups
This patch contains the following possible cleanups: - make needlessly global code static - #if 0 the following unused global function: - xfrm4_state.c: xfrm4_state_fini - remove the following unneeded EXPORT_SYMBOL's: - ip_output.c: ip_finish_output - ip_output.c: sysctl_ip_default_ttl - fib_frontend.c: ip_dev_find - inetpeer.c: inet_peer_idlock - ip_options.c: ip_options_compile - ip_options.c: ip_options_undo - net/core/request_sock.c: sysctl_max_syn_backlog Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f2ccd8fa06
commit
0742fd53a3
@ -140,8 +140,6 @@ struct ip_reply_arg {
|
||||
void ip_send_reply(struct sock *sk, struct sk_buff *skb, struct ip_reply_arg *arg,
|
||||
unsigned int len);
|
||||
|
||||
extern int ip_finish_output(struct sk_buff *skb);
|
||||
|
||||
struct ipv4_config
|
||||
{
|
||||
int log_martians;
|
||||
|
@ -105,10 +105,6 @@ struct rt_cache_stat
|
||||
unsigned int out_hlist_search;
|
||||
};
|
||||
|
||||
extern struct rt_cache_stat *rt_cache_stat;
|
||||
#define RT_CACHE_STAT_INC(field) \
|
||||
(per_cpu_ptr(rt_cache_stat, raw_smp_processor_id())->field++)
|
||||
|
||||
extern struct ip_rt_acct *ip_rt_acct;
|
||||
|
||||
struct in_device;
|
||||
|
@ -818,7 +818,6 @@ extern void xfrm6_init(void);
|
||||
extern void xfrm6_fini(void);
|
||||
extern void xfrm_state_init(void);
|
||||
extern void xfrm4_state_init(void);
|
||||
extern void xfrm4_state_fini(void);
|
||||
extern void xfrm6_state_init(void);
|
||||
extern void xfrm6_state_fini(void);
|
||||
|
||||
|
Reference in New Issue
Block a user