summaryrefslogtreecommitdiffstats
path: root/net/dccp/ackvec.h
diff options
context:
space:
mode:
authorAndrea Bittau <a.bittau@cs.ucl.ac.uk>2006-09-19 13:06:16 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2006-09-22 15:19:09 -0700
commit4a0a50fb43912b4a593d2416c507a198fe607a6d (patch)
tree24b09ba4c83942c2ccec0261affdcbc68a2f335c /net/dccp/ackvec.h
parent8e27e4650cb7e73aa4dd97d860539e7605ac7e39 (diff)
downloadop-kernel-dev-4a0a50fb43912b4a593d2416c507a198fe607a6d.zip
op-kernel-dev-4a0a50fb43912b4a593d2416c507a198fe607a6d.tar.gz
[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.h')
-rw-r--r--net/dccp/ackvec.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/net/dccp/ackvec.h b/net/dccp/ackvec.h
index 0adf4b5..2424eff 100644
--- a/net/dccp/ackvec.h
+++ b/net/dccp/ackvec.h
@@ -54,9 +54,7 @@ struct dccp_ackvec {
struct list_head dccpav_records;
struct timeval dccpav_time;
u8 dccpav_buf_head;
- u8 dccpav_buf_tail;
u8 dccpav_ack_ptr;
- u8 dccpav_sent_len;
u8 dccpav_vec_len;
u8 dccpav_buf_nonce;
u8 dccpav_ack_nonce;
@@ -107,7 +105,7 @@ extern int dccp_insert_option_ackvec(struct sock *sk, struct sk_buff *skb);
static inline int dccp_ackvec_pending(const struct dccp_ackvec *av)
{
- return av->dccpav_sent_len != av->dccpav_vec_len;
+ return av->dccpav_vec_len;
}
#else /* CONFIG_IP_DCCP_ACKVEC */
static inline int dccp_ackvec_init(void)
OpenPOWER on IntegriCloud