Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 22ab379f authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan Committed by Gerrit - the friendly Code Review server
Browse files

sched: Remove debug WARN_ONCE messages



If flow control functionality is not enabled in traffic controller
userspace modules, WARN_ONCE messages are triggered. Note that qdisc
will still be setup even if these debug messages are logged.
Remove these messages to reduce log spam.

CRs-Fixed: 2053221
Change-Id: I62a2fcb30d19579180b3df16f33953546f94511a
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 9ca28587
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1191,12 +1191,7 @@ tc_qdisc_flow_control(struct net_device *dev, u32 tcm_handle, int enable_flow)
			qdisc_len = q->q.qlen;
			if (q->ops->change(q, &req.attr) != 0)
				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;
}