aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_netem.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-03-23 14:28:30 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:27:51 -0400
commita084980dcbf56c896e4b6c19aff2b082d5db7006 (patch)
tree2bdecde658ff928eff6e0f12ccba63217692d8de /net/sched/sch_netem.c
parent104e0878984bb467e3f54d61105d8903babb4ec1 (diff)
[NET_SCHED]: kill PSCHED_SET_PASTPERFECT/PSCHED_IS_PASTPERFECT
Use direct assignment and comparison instead. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_netem.c')
-rw-r--r--net/sched/sch_netem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c
index 5d571aa04a76..1e88301f505c 100644
--- a/net/sched/sch_netem.c
+++ b/net/sched/sch_netem.c
@@ -532,7 +532,7 @@ static int tfifo_init(struct Qdisc *sch, struct rtattr *opt)
532 } else 532 } else
533 q->limit = max_t(u32, sch->dev->tx_queue_len, 1); 533 q->limit = max_t(u32, sch->dev->tx_queue_len, 1);
534 534
535 PSCHED_SET_PASTPERFECT(q->oldest); 535 q->oldest = PSCHED_PASTPERFECT;
536 return 0; 536 return 0;
537} 537}
538 538