Commit 26e252df authored by Patrick McHardy's avatar Patrick McHardy Committed by David S. Miller

[NET_SCHED]: kill PSCHED_AUDIT_TDIFF

Signed-off-by: default avatarPatrick McHardy <kaber@trash.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 76d643cd
...@@ -59,7 +59,6 @@ typedef long psched_tdiff_t; ...@@ -59,7 +59,6 @@ typedef long psched_tdiff_t;
#define PSCHED_TADD(tv, delta) ((tv) += (delta)) #define PSCHED_TADD(tv, delta) ((tv) += (delta))
#define PSCHED_SET_PASTPERFECT(t) ((t) = 0) #define PSCHED_SET_PASTPERFECT(t) ((t) = 0)
#define PSCHED_IS_PASTPERFECT(t) ((t) == 0) #define PSCHED_IS_PASTPERFECT(t) ((t) == 0)
#define PSCHED_AUDIT_TDIFF(t)
struct qdisc_watchdog { struct qdisc_watchdog {
struct hrtimer timer; struct hrtimer timer;
......
...@@ -820,8 +820,6 @@ cbq_update(struct cbq_sched_data *q) ...@@ -820,8 +820,6 @@ cbq_update(struct cbq_sched_data *q)
idle -= L2T(&q->link, len); idle -= L2T(&q->link, len);
idle += L2T(cl, len); idle += L2T(cl, len);
PSCHED_AUDIT_TDIFF(idle);
PSCHED_TADD2(q->now, idle, cl->undertime); PSCHED_TADD2(q->now, idle, cl->undertime);
} else { } else {
/* Underlimit */ /* Underlimit */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment