Commit bb717d76 authored by stephen hemminger's avatar stephen hemminger Committed by David S. Miller

tcp: make proc_tcp_fastopen_key static

Detected by sparse.
Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bd2a13e2
...@@ -232,7 +232,7 @@ static int ipv4_tcp_mem(ctl_table *ctl, int write, ...@@ -232,7 +232,7 @@ static int ipv4_tcp_mem(ctl_table *ctl, int write,
return 0; return 0;
} }
int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer, static int proc_tcp_fastopen_key(ctl_table *ctl, int write, void __user *buffer,
size_t *lenp, loff_t *ppos) size_t *lenp, loff_t *ppos)
{ {
ctl_table tbl = { .maxlen = (TCP_FASTOPEN_KEY_LENGTH * 2 + 10) }; ctl_table tbl = { .maxlen = (TCP_FASTOPEN_KEY_LENGTH * 2 + 10) };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment