]> err.no Git - linux-2.6/commitdiff
[DCCP] CCID3: Remove non-referenced variable
authorIan McDonald <ian.mcdonald@jandi.co.nz>
Mon, 20 Nov 2006 20:44:03 +0000 (18:44 -0200)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:24:41 +0000 (21:24 -0800)
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>
net/dccp/ccids/ccid3.c

index 4eada515b773a9ce5078e711fa98e0f2c4e6fd86..fb21f2d9ffc653e93205ddce25e532445c04f9a4 100644 (file)
@@ -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)