diff options
author | Patrick McHardy <kaber@trash.net> | 2007-03-23 11:27:45 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-25 22:27:49 -0700 |
commit | 7c59e25f3186f26e85b13a318dbc4482d1d363e9 (patch) | |
tree | b6cfda6d2e14879e3f4373d261b65b80d156d1c1 /net/sched/sch_netem.c | |
parent | 26e252df1e6e5b68eb790e4a4baf745aa3870038 (diff) | |
download | linux-7c59e25f3186f26e85b13a318dbc4482d1d363e9.tar.bz2 |
[NET_SCHED]: kill PSCHED_TADD/PSCHED_TADD2
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 bc4284396fcb..6044ae77d5da 100644 --- a/net/sched/sch_netem.c +++ b/net/sched/sch_netem.c @@ -218,7 +218,7 @@ static int netem_enqueue(struct sk_buff *skb, struct Qdisc *sch) &q->delay_cor, q->delay_dist); PSCHED_GET_TIME(now); - PSCHED_TADD2(now, delay, cb->time_to_send); + cb->time_to_send = now + delay; ++q->counter; ret = q->qdisc->enqueue(skb, q->qdisc); } else { |