summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorIan McDonald2006-11-20 21:44:03 +0100
committerDavid S. Miller2006-12-03 06:24:41 +0100
commit455431739ca2f4c7f02d0a5979559ac5a68a6f95 (patch)
treeb3ee30c13997b0411040f0641b1712f001a290b0 /net
parent[DCCP]: Update Documentation (diff)
downloadkernel-qcow2-linux-455431739ca2f4c7f02d0a5979559ac5a68a6f95.tar.gz
kernel-qcow2-linux-455431739ca2f4c7f02d0a5979559ac5a68a6f95.tar.xz
kernel-qcow2-linux-455431739ca2f4c7f02d0a5979559ac5a68a6f95.zip
[DCCP] CCID3: Remove non-referenced variable
This removes a non-referenced variable. 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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c
index 4eada515b773..fb21f2d9ffc6 100644
--- a/net/dccp/ccids/ccid3.c
+++ b/net/dccp/ccids/ccid3.c
@@ -965,7 +965,6 @@ static void ccid3_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb)
const struct dccp_options_received *opt_recv;
struct dccp_rx_hist_entry *packet;
struct timeval now;
- u8 win_count;
u32 p_prev, rtt_prev, r_sample, t_elapsed;
int loss;
@@ -1017,8 +1016,6 @@ static void ccid3_hc_rx_packet_recv(struct sock *sk, struct sk_buff *skb)
return;
}
- win_count = packet->dccphrx_ccval;
-
loss = ccid3_hc_rx_detect_loss(sk, packet);
if (DCCP_SKB_CB(skb)->dccpd_type == DCCP_PKT_ACK)