tc: fix set never used warning in red

This commit is contained in:
Stephen Hemminger 2011-06-20 14:34:30 -07:00
parent d93b6b51e6
commit bf808cbf84
1 changed files with 0 additions and 2 deletions

View File

@ -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<<clog) < 512)
break;