diff options
author | stephen hemminger <shemminger@vyatta.com> | 2012-12-28 18:20:24 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-28 20:32:36 -0800 |
commit | bb717d764926b8748aecd18e3531189b323f6e4d (patch) | |
tree | 1b93f19ba00b5d1ef7621216fbdd2e0b9c4bf590 | |
parent | bd2a13e2ebedc084ca4d5bc77e8ed03cf793a130 (diff) | |
download | kernel_goldelico_gta04-bb717d764926b8748aecd18e3531189b323f6e4d.zip kernel_goldelico_gta04-bb717d764926b8748aecd18e3531189b323f6e4d.tar.gz kernel_goldelico_gta04-bb717d764926b8748aecd18e3531189b323f6e4d.tar.bz2 |
tcp: make proc_tcp_fastopen_key static
Detected by sparse.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/ipv4/sysctl_net_ipv4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/sysctl_net_ipv4.c b/net/ipv4/sysctl_net_ipv4.c index d84400b..7547a6d 100644 --- a/net/ipv4/sysctl_net_ipv4.c +++ b/net/ipv4/sysctl_net_ipv4.c @@ -232,8 +232,8 @@ static int ipv4_tcp_mem(ctl_table *ctl, int write, return 0; } -int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer, - size_t *lenp, loff_t *ppos) +static int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer, + size_t *lenp, loff_t *ppos) { ctl_table tbl = { .maxlen = (TCP_FASTOPEN_KEY_LENGTH * 2 + 10) }; struct tcp_fastopen_context *ctxt; |