aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/options.c
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2010-10-05 00:24:09 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-07 02:12:07 -0400
commit1f4f0f645cc1d7f1187fcdb0ac22c2e69bd68050 (patch)
tree6db6ea3a0bb27188d06db6bbf093842d7007f836 /net/dccp/options.c
parent10e7e9c44d442275951d1cfc892c1c6606c85c94 (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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/dccp/options.c b/net/dccp/options.c
index 92718511eac..d4b1ae0daac 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)
369 369
370EXPORT_SYMBOL_GPL(dccp_insert_option_elapsed_time); 370EXPORT_SYMBOL_GPL(dccp_insert_option_elapsed_time);
371 371
372int dccp_insert_option_timestamp(struct sk_buff *skb) 372static int dccp_insert_option_timestamp(struct sk_buff *skb)
373{ 373{
374 __be32 now = htonl(dccp_timestamp()); 374 __be32 now = htonl(dccp_timestamp());
375 /* yes this will overflow but that is the point as we want a 375 /* 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)
378 return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now)); 378 return dccp_insert_option(skb, DCCPO_TIMESTAMP, &now, sizeof(now));
379} 379}
380 380
381EXPORT_SYMBOL_GPL(dccp_insert_option_timestamp);
382
383static int dccp_insert_option_timestamp_echo(struct dccp_sock *dp, 381static int dccp_insert_option_timestamp_echo(struct dccp_sock *dp,
384 struct dccp_request_sock *dreq, 382 struct dccp_request_sock *dreq,
385 struct sk_buff *skb) 383 struct sk_buff *skb)