Merge "sched: Remove debug WARN_ONCE messages"
This commit is contained in:
commit
7961b23656
1 changed files with 0 additions and 5 deletions
|
@ -1200,12 +1200,7 @@ tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int enable_flow)
|
||||||
qdisc_len = q->q.qlen;
|
qdisc_len = q->q.qlen;
|
||||||
if (q->ops->change(q, &req.attr) != 0)
|
if (q->ops->change(q, &req.attr) != 0)
|
||||||
pr_err("%s(): qdisc change failed", __func__);
|
pr_err("%s(): qdisc change failed", __func__);
|
||||||
} else {
|
|
||||||
WARN_ONCE(1, "%s(): called on queue which does %s",
|
|
||||||
__func__, "not support change() operation");
|
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
WARN_ONCE(1, "%s(): called on bad queue", __func__);
|
|
||||||
}
|
}
|
||||||
return qdisc_len;
|
return qdisc_len;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue