From: Ilpo Järvinen Date: Mon, 31 Dec 2007 22:58:00 +0000 (-0800) Subject: [TCP]: Remove unnecessary local variable X-Git-Tag: v2.6.25-rc1~1162^2~889 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d436d68630a74ba3c898ff1b53591ddc4eb7f2bf;p=linux-2.6 [TCP]: Remove unnecessary local variable Signed-off-by: Ilpo Järvinen Signed-off-by: David S. Miller --- diff --git a/net/ipv4/tcp_output.c b/net/ipv4/tcp_output.c index b3110fc157..f6d279a95f 100644 --- a/net/ipv4/tcp_output.c +++ b/net/ipv4/tcp_output.c @@ -995,9 +995,8 @@ unsigned int tcp_current_mss(struct sock *sk, int large_allowed) static void tcp_cwnd_validate(struct sock *sk) { struct tcp_sock *tp = tcp_sk(sk); - __u32 packets_out = tp->packets_out; - if (packets_out >= tp->snd_cwnd) { + if (tp->packets_out >= tp->snd_cwnd) { /* Network is feed fully. */ tp->snd_cwnd_used = 0; tp->snd_cwnd_stamp = tcp_time_stamp;