Commit 0bd4ff1b authored by Andrea Bittau's avatar Andrea Bittau Committed by David S. Miller

[DCCP] ackvec: Remove unused dccpav_ack_ptr field from dccp_ackvec

Commiter note: original patch was splitted.
Signed-off-by: default avatarAndrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@mandriva.com>
parent 4a89c256
...@@ -141,7 +141,6 @@ struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority) ...@@ -141,7 +141,6 @@ struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority)
av->dccpav_buf_head = DCCP_MAX_ACKVEC_LEN - 1; av->dccpav_buf_head = DCCP_MAX_ACKVEC_LEN - 1;
av->dccpav_buf_ackno = DCCP_MAX_SEQNO + 1; av->dccpav_buf_ackno = DCCP_MAX_SEQNO + 1;
av->dccpav_buf_nonce = av->dccpav_buf_nonce = 0; av->dccpav_buf_nonce = av->dccpav_buf_nonce = 0;
av->dccpav_ack_ptr = 0;
av->dccpav_time.tv_sec = 0; av->dccpav_time.tv_sec = 0;
av->dccpav_time.tv_usec = 0; av->dccpav_time.tv_usec = 0;
av->dccpav_vec_len = 0; av->dccpav_vec_len = 0;
......
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
* Ack Vectors it has recently sent. For each packet sent carrying an * Ack Vectors it has recently sent. For each packet sent carrying an
* Ack Vector, it remembers four variables: * Ack Vector, it remembers four variables:
* *
* @dccpav_ack_ptr - the value of buf_head at the time of acknowledgement.
* @dccpav_records - list of dccp_ackvec_record * @dccpav_records - list of dccp_ackvec_record
* @dccpav_ack_nonce - the one-bit sum of the ECN Nonces for all State 0. * @dccpav_ack_nonce - the one-bit sum of the ECN Nonces for all State 0.
* *
...@@ -53,7 +52,6 @@ struct dccp_ackvec { ...@@ -53,7 +52,6 @@ struct dccp_ackvec {
struct list_head dccpav_records; struct list_head dccpav_records;
struct timeval dccpav_time; struct timeval dccpav_time;
u8 dccpav_buf_head; u8 dccpav_buf_head;
u8 dccpav_ack_ptr;
u8 dccpav_vec_len; u8 dccpav_vec_len;
u8 dccpav_buf_nonce; u8 dccpav_buf_nonce;
u8 dccpav_ack_nonce; u8 dccpav_ack_nonce;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment