diff options
author | Andrea Bittau <a.bittau@cs.ucl.ac.uk> | 2006-11-21 13:17:10 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-03 00:30:31 -0500 |
commit | 0bd4ff1b1528a39b07aab6c744ac37e053740ad0 (patch) | |
tree | cfe5ffd795eafd6e69260b23aa50639ea7b382f5 /net/dccp | |
parent | 4a89c2562cb81c24c515b9de041aced4d21cb6d1 (diff) |
[DCCP] ackvec: Remove unused dccpav_ack_ptr field from dccp_ackvec
Commiter note: original patch was splitted.
Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/dccp')
-rw-r--r-- | net/dccp/ackvec.c | 1 | ||||
-rw-r--r-- | net/dccp/ackvec.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c index 1b4b60d8bdec..215355d993de 100644 --- a/net/dccp/ackvec.c +++ b/net/dccp/ackvec.c | |||
@@ -141,7 +141,6 @@ struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority) | |||
141 | av->dccpav_buf_head = DCCP_MAX_ACKVEC_LEN - 1; | 141 | av->dccpav_buf_head = DCCP_MAX_ACKVEC_LEN - 1; |
142 | av->dccpav_buf_ackno = DCCP_MAX_SEQNO + 1; | 142 | av->dccpav_buf_ackno = DCCP_MAX_SEQNO + 1; |
143 | av->dccpav_buf_nonce = av->dccpav_buf_nonce = 0; | 143 | av->dccpav_buf_nonce = av->dccpav_buf_nonce = 0; |
144 | av->dccpav_ack_ptr = 0; | ||
145 | av->dccpav_time.tv_sec = 0; | 144 | av->dccpav_time.tv_sec = 0; |
146 | av->dccpav_time.tv_usec = 0; | 145 | av->dccpav_time.tv_usec = 0; |
147 | av->dccpav_vec_len = 0; | 146 | av->dccpav_vec_len = 0; |
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h index cf8f20ce23a9..d6a58db5fb13 100644 --- a/net/dccp/ackvec.h +++ b/net/dccp/ackvec.h | |||
@@ -41,7 +41,6 @@ | |||
41 | * Ack Vectors it has recently sent. For each packet sent carrying an | 41 | * Ack Vectors it has recently sent. For each packet sent carrying an |
42 | * Ack Vector, it remembers four variables: | 42 | * Ack Vector, it remembers four variables: |
43 | * | 43 | * |
44 | * @dccpav_ack_ptr - the value of buf_head at the time of acknowledgement. | ||
45 | * @dccpav_records - list of dccp_ackvec_record | 44 | * @dccpav_records - list of dccp_ackvec_record |
46 | * @dccpav_ack_nonce - the one-bit sum of the ECN Nonces for all State 0. | 45 | * @dccpav_ack_nonce - the one-bit sum of the ECN Nonces for all State 0. |
47 | * | 46 | * |
@@ -53,7 +52,6 @@ struct dccp_ackvec { | |||
53 | struct list_head dccpav_records; | 52 | struct list_head dccpav_records; |
54 | struct timeval dccpav_time; | 53 | struct timeval dccpav_time; |
55 | u8 dccpav_buf_head; | 54 | u8 dccpav_buf_head; |
56 | u8 dccpav_ack_ptr; | ||
57 | u8 dccpav_vec_len; | 55 | u8 dccpav_vec_len; |
58 | u8 dccpav_buf_nonce; | 56 | u8 dccpav_buf_nonce; |
59 | u8 dccpav_ack_nonce; | 57 | u8 dccpav_ack_nonce; |