diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2006-12-09 21:08:09 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-11 17:34:53 -0500 |
commit | e312d100f19fdfe1019512b07a9d15653f254abf (patch) | |
tree | 96b3275b746b2c871ab3d2d0f6e1d683ea0ae030 /net | |
parent | 9f8681db961de6d75e43844e9664f1f81e05e1b7 (diff) |
[DCCP] ccid3: TX history - remove unused field
This removes the `dccphtx_ccval' field since it is nowhere used in the code and
in fact not necessary for the accounting.
Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: Ian McDonald <ian.mcdonald@jandi.co.nz>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 5 | ||||
-rw-r--r-- | net/dccp/ccids/lib/packet_history.h | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index 1a2ffa1d8794..6bb3f8352dad 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -370,8 +370,9 @@ static int ccid3_hc_tx_send_packet(struct sock *sk, struct sk_buff *skb) | |||
370 | 370 | ||
371 | /* prepare to send now (add options etc.) */ | 371 | /* prepare to send now (add options etc.) */ |
372 | dp->dccps_hc_tx_insert_options = 1; | 372 | dp->dccps_hc_tx_insert_options = 1; |
373 | new_packet->dccphtx_ccval = DCCP_SKB_CB(skb)->dccpd_ccval = | 373 | DCCP_SKB_CB(skb)->dccpd_ccval = hctx->ccid3hctx_last_win_count; |
374 | hctx->ccid3hctx_last_win_count; | 374 | |
375 | /* set the nominal send time for the next following packet */ | ||
375 | timeval_add_usecs(&hctx->ccid3hctx_t_nom, hctx->ccid3hctx_t_ipi); | 376 | timeval_add_usecs(&hctx->ccid3hctx_t_nom, hctx->ccid3hctx_t_ipi); |
376 | 377 | ||
377 | return 0; | 378 | return 0; |
diff --git a/net/dccp/ccids/lib/packet_history.h b/net/dccp/ccids/lib/packet_history.h index 9a8bcf224aa7..4198185c6d40 100644 --- a/net/dccp/ccids/lib/packet_history.h +++ b/net/dccp/ccids/lib/packet_history.h | |||
@@ -52,7 +52,6 @@ | |||
52 | struct dccp_tx_hist_entry { | 52 | struct dccp_tx_hist_entry { |
53 | struct list_head dccphtx_node; | 53 | struct list_head dccphtx_node; |
54 | u64 dccphtx_seqno:48, | 54 | u64 dccphtx_seqno:48, |
55 | dccphtx_ccval:4, | ||
56 | dccphtx_sent:1; | 55 | dccphtx_sent:1; |
57 | u32 dccphtx_rtt; | 56 | u32 dccphtx_rtt; |
58 | struct timeval dccphtx_tstamp; | 57 | struct timeval dccphtx_tstamp; |