aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2010-06-22 01:14:34 +0000
committerDavid S. Miller <davem@davemloft.net>2010-06-25 21:33:14 -0700
commita7d13fbf85375698879d16f118af77fbfcc2de44 (patch)
tree5b8220160aa441847e3f5f10c1a5086229e8dfa2 /net/dccp/ccids
parent87cad5c385877ce45244886748564672fd6db035 (diff)
downloadkernel_samsung_espresso10-a7d13fbf85375698879d16f118af77fbfcc2de44.zip
kernel_samsung_espresso10-a7d13fbf85375698879d16f118af77fbfcc2de44.tar.gz
kernel_samsung_espresso10-a7d13fbf85375698879d16f118af77fbfcc2de44.tar.bz2
dccp: remove unused function argument
This removes an unused 'sk' argument from several option-inserting functions. Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ccids')
-rw-r--r--net/dccp/ccids/ccid3.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index d323589..95f7529 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -715,9 +715,9 @@ static int ccid3_hc_rx_insert_options(struct sock *sk, struct sk_buff *skb)
x_recv = htonl(hc->rx_x_recv);
pinv = htonl(hc->rx_pinv);
- if (dccp_insert_option(sk, skb, TFRC_OPT_LOSS_EVENT_RATE,
+ if (dccp_insert_option(skb, TFRC_OPT_LOSS_EVENT_RATE,
&pinv, sizeof(pinv)) ||
- dccp_insert_option(sk, skb, TFRC_OPT_RECEIVE_RATE,
+ dccp_insert_option(skb, TFRC_OPT_RECEIVE_RATE,
&x_recv, sizeof(x_recv)))
return -1;