提交 26e252df 编写于 作者: P Patrick McHardy 提交者: David S. Miller

[NET_SCHED]: kill PSCHED_AUDIT_TDIFF

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 76d643cd
......@@ -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;
......
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册