diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index b87e83d0747821bc2251c3b099f91a3358c211d9..75c94e59a3bd3889cd87460afe87ac611eeb024e 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c @@ -235,7 +235,6 @@ static bool loss_4state(struct netem_sched_data *q) clg->state = 2; else if (clg->a3 < rnd && rnd < clg->a2 + clg->a3) { clg->state = 1; - return true; } else if (clg->a2 + clg->a3 < rnd) { clg->state = 3; return true;