diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-05 04:24:09 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-06 23:12:07 -0700 |
commit | 1f4f0f645cc1d7f1187fcdb0ac22c2e69bd68050 (patch) | |
tree | 6db6ea3a0bb27188d06db6bbf093842d7007f836 /net/dccp/options.c | |
parent | 10e7e9c44d442275951d1cfc892c1c6606c85c94 (diff) |
dccp: Kill dead code and add static markers.
Remove dead code and make some functions static.
Compile tested only.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/options.c')
-rw-r--r-- | net/dccp/options.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c index 92718511eac5..d4b1ae0daacb 100644 --- a/net/dccp/options.c +++ b/net/dccp/options.c @@ -369,7 +369,7 @@ int dccp_insert_option_elapsed_time(struct sk_buff *skb, u32 elapsed_time) EXPORT_SYMBOL_GPL(dccp_insert_option_elapsed_time); -int dccp_insert_option_timestamp(struct sk_buff *skb) +static int dccp_insert_option_timestamp(struct sk_buff *skb) { __be32 now = htonl(dccp_timestamp()); /* yes this will overflow but that is the point as we want a @@ -378,8 +378,6 @@ int dccp_insert_option_timestamp(struct sk_buff *skb) return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now)); } -EXPORT_SYMBOL_GPL(dccp_insert_option_timestamp); - static int dccp_insert_option_timestamp_echo(struct dccp_sock *dp, struct dccp_request_sock *dreq, struct sk_buff *skb) |