]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
tcp: make proc_tcp_fastopen_key static
authorstephen hemminger <shemminger@vyatta.com>
Fri, 28 Dec 2012 18:20:24 +0000 (18:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Dec 2012 04:32:36 +0000 (20:32 -0800)
Detected by sparse.

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/sysctl_net_ipv4.c

index d84400b65049e61bc64f8f8eef37e2be2aaf2eda..7547a6d238a290839bed4ee4e1289586b70831c5 100644 (file)
@@ -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;