diff options
author | Patrick McHardy <kaber@trash.net> | 2007-03-23 14:27:29 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 01:27:48 -0400 |
commit | 26e252df1e6e5b68eb790e4a4baf745aa3870038 (patch) | |
tree | e6895ca3ca0351efc9c7ae90a377cafc9fed5112 | |
parent | 76d643cd3bd2b4a1e27e3eafee8e37be9c681792 (diff) |
[NET_SCHED]: kill PSCHED_AUDIT_TDIFF
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/pkt_sched.h | 1 | ||||
-rw-r--r-- | net/sched/sch_cbq.c | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/net/pkt_sched.h b/include/net/pkt_sched.h index 6555e57ff6c9..276d1ad2b708 100644 --- a/include/net/pkt_sched.h +++ b/include/net/pkt_sched.h | |||
@@ -59,7 +59,6 @@ typedef long psched_tdiff_t; | |||
59 | #define PSCHED_TADD(tv, delta) ((tv) += (delta)) | 59 | #define PSCHED_TADD(tv, delta) ((tv) += (delta)) |
60 | #define PSCHED_SET_PASTPERFECT(t) ((t) = 0) | 60 | #define PSCHED_SET_PASTPERFECT(t) ((t) = 0) |
61 | #define PSCHED_IS_PASTPERFECT(t) ((t) == 0) | 61 | #define PSCHED_IS_PASTPERFECT(t) ((t) == 0) |
62 | #define PSCHED_AUDIT_TDIFF(t) | ||
63 | 62 | ||
64 | struct qdisc_watchdog { | 63 | struct qdisc_watchdog { |
65 | struct hrtimer timer; | 64 | struct hrtimer timer; |
diff --git a/net/sched/sch_cbq.c b/net/sched/sch_cbq.c index dcd9c31dc399..57ac6c5cd273 100644 --- a/net/sched/sch_cbq.c +++ b/net/sched/sch_cbq.c | |||
@@ -820,8 +820,6 @@ cbq_update(struct cbq_sched_data *q) | |||
820 | idle -= L2T(&q->link, len); | 820 | idle -= L2T(&q->link, len); |
821 | idle += L2T(cl, len); | 821 | idle += L2T(cl, len); |
822 | 822 | ||
823 | PSCHED_AUDIT_TDIFF(idle); | ||
824 | |||
825 | PSCHED_TADD2(q->now, idle, cl->undertime); | 823 | PSCHED_TADD2(q->now, idle, cl->undertime); |
826 | } else { | 824 | } else { |
827 | /* Underlimit */ | 825 | /* Underlimit */ |