From bf808cbf84bd96974b5a7d11484e8b0d46a467e8 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Mon, 20 Jun 2011 14:34:30 -0700 Subject: [PATCH] tc: fix set never used warning in red --- tc/tc_red.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tc/tc_red.c b/tc/tc_red.c index 8f9bde088..66658cacc 100644 --- a/tc/tc_red.c +++ b/tc/tc_red.c @@ -76,9 +76,7 @@ int tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned bps, __u8 *sbuf) double maxtime = 31/lW; int clog; int i; - double tmp; - tmp = maxtime; for (clog=0; clog<32; clog++) { if (maxtime/(1<