[NET_SCHED]: kill PSCHED_AUDIT_TDIFF
authorPatrick McHardy <kaber@trash.net>
Fri, 23 Mar 2007 18:27:29 +0000 (11:27 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:27:48 +0000 (22:27 -0700)
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_sched.h
net/sched/sch_cbq.c

index 6555e57ff6c926ace4c55e665cd4fc7895ca2e4d..276d1ad2b708115ce592ef2f97ae57bc3dd12e3b 100644 (file)
@@ -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;
index dcd9c31dc3990ea533e029785282def16d7e070c..57ac6c5cd27399c211ac0712bd92c242ceb88505 100644 (file)
@@ -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 */