diff options
author | Andrea Bittau <a.bittau@cs.ucl.ac.uk> | 2006-09-19 13:06:16 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 15:19:09 -0700 |
commit | 4a0a50fb43912b4a593d2416c507a198fe607a6d (patch) | |
tree | 24b09ba4c83942c2ccec0261affdcbc68a2f335c /net/dccp/ackvec.c | |
parent | 8e27e4650cb7e73aa4dd97d860539e7605ac7e39 (diff) | |
download | linux-3.10-4a0a50fb43912b4a593d2416c507a198fe607a6d.tar.gz linux-3.10-4a0a50fb43912b4a593d2416c507a198fe607a6d.tar.bz2 linux-3.10-4a0a50fb43912b4a593d2416c507a198fe607a6d.zip |
[DCCP] ackvec: Remove unused variables
Get rid of unused variables in ackvector state.
Signed-off-by: Andrea Bittau <a.bittau@cs.ucl.ac.uk>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/ackvec.c')
-rw-r--r-- | net/dccp/ackvec.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/dccp/ackvec.c b/net/dccp/ackvec.c index bc5ff121241..4d176d33983 100644 --- a/net/dccp/ackvec.c +++ b/net/dccp/ackvec.c @@ -142,14 +142,13 @@ struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority) struct dccp_ackvec *av = kmem_cache_alloc(dccp_ackvec_slab, priority); if (av != NULL) { - av->dccpav_buf_head = - av->dccpav_buf_tail = 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_nonce = av->dccpav_buf_nonce = 0; av->dccpav_ack_ptr = 0; av->dccpav_time.tv_sec = 0; av->dccpav_time.tv_usec = 0; - av->dccpav_sent_len = av->dccpav_vec_len = 0; + av->dccpav_vec_len = 0; INIT_LIST_HEAD(&av->dccpav_records); } |