diff options
author | Patrick McHardy <kaber@trash.net> | 2007-03-23 14:28:30 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:27:51 -0400 |
commit | a084980dcbf56c896e4b6c19aff2b082d5db7006 (patch) | |
tree | 2bdecde658ff928eff6e0f12ccba63217692d8de /net/sched/sch_netem.c | |
parent | 104e0878984bb467e3f54d61105d8903babb4ec1 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_netem.c b/net/sched/sch_netem.c index 5d571aa04a7..1e88301f505 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 | ||