[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>
This commit is contained in:
committed by
David S. Miller
parent
104e087898
commit
a084980dcb
@ -532,7 +532,7 @@ static int tfifo_init(struct Qdisc *sch, struct rtattr *opt)
|
||||
} else
|
||||
q->limit = max_t(u32, sch->dev->tx_queue_len, 1);
|
||||
|
||||
PSCHED_SET_PASTPERFECT(q->oldest);
|
||||
q->oldest = PSCHED_PASTPERFECT;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user