summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-03-23 19:27:29 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 07:27:48 +0200
commit26e252df1e6e5b68eb790e4a4baf745aa3870038 (patch)
treee6895ca3ca0351efc9c7ae90a377cafc9fed5112
parent[NET_SCHED]: sch_netem: fix off-by-one in send time comparison (diff)
downloadlinux-26e252df1e6e5b68eb790e4a4baf745aa3870038.tar.xz
linux-26e252df1e6e5b68eb790e4a4baf745aa3870038.zip
[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.h1
-rw-r--r--net/sched/sch_cbq.c2
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;
#define PSCHED_TADD(tv, delta) ((tv) += (delta))
#define PSCHED_SET_PASTPERFECT(t) ((t) = 0)
#define PSCHED_IS_PASTPERFECT(t) ((t) == 0)
-#define PSCHED_AUDIT_TDIFF(t)
struct qdisc_watchdog {
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)
idle -= L2T(&q->link, len);
idle += L2T(cl, len);
- PSCHED_AUDIT_TDIFF(idle);
-
PSCHED_TADD2(q->now, idle, cl->undertime);
} else {
/* Underlimit */