aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/ccids/ccid3.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r--net/dccp/ccids/ccid3.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index 936704d1b77e..7017d84a381d 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -551,17 +551,6 @@ static void ccid3_hc_tx_packet_recv(struct sock *sk, struct sk_buff *skb)
551 } 551 }
552} 552}
553 553
554static int ccid3_hc_tx_insert_options(struct sock *sk, struct sk_buff *skb)
555{
556 const struct ccid3_hc_tx_sock *hctx = ccid3_hc_tx_sk(sk);
557
558 BUG_ON(hctx == NULL);
559
560 if (sk->sk_state == DCCP_OPEN || sk->sk_state == DCCP_PARTOPEN)
561 DCCP_SKB_CB(skb)->dccpd_ccval = hctx->ccid3hctx_last_win_count;
562 return 0;
563}
564
565static int ccid3_hc_tx_parse_options(struct sock *sk, unsigned char option, 554static int ccid3_hc_tx_parse_options(struct sock *sk, unsigned char option,
566 unsigned char len, u16 idx, 555 unsigned char len, u16 idx,
567 unsigned char *value) 556 unsigned char *value)
@@ -1216,7 +1205,6 @@ static struct ccid_operations ccid3 = {
1216 .ccid_hc_tx_send_packet = ccid3_hc_tx_send_packet, 1205 .ccid_hc_tx_send_packet = ccid3_hc_tx_send_packet,
1217 .ccid_hc_tx_packet_sent = ccid3_hc_tx_packet_sent, 1206 .ccid_hc_tx_packet_sent = ccid3_hc_tx_packet_sent,
1218 .ccid_hc_tx_packet_recv = ccid3_hc_tx_packet_recv, 1207 .ccid_hc_tx_packet_recv = ccid3_hc_tx_packet_recv,
1219 .ccid_hc_tx_insert_options = ccid3_hc_tx_insert_options,
1220 .ccid_hc_tx_parse_options = ccid3_hc_tx_parse_options, 1208 .ccid_hc_tx_parse_options = ccid3_hc_tx_parse_options,
1221 .ccid_hc_rx_obj_size = sizeof(struct ccid3_hc_rx_sock), 1209 .ccid_hc_rx_obj_size = sizeof(struct ccid3_hc_rx_sock),
1222 .ccid_hc_rx_init = ccid3_hc_rx_init, 1210 .ccid_hc_rx_init = ccid3_hc_rx_init,