svn commit: r336720 - head/sys/dev/cxgbe
Navdeep Parhar
np at FreeBSD.org
Wed Jul 25 17:45:44 UTC 2018
Author: np
Date: Wed Jul 25 17:45:43 2018
New Revision: 336720
URL: https://svnweb.freebsd.org/changeset/base/336720
Log:
cxgbe(4): Remove useless code that crept in with r336718.
MFC after: 3 days
X-MFC With: 336718
Modified:
head/sys/dev/cxgbe/t4_sched.c
Modified: head/sys/dev/cxgbe/t4_sched.c
==============================================================================
--- head/sys/dev/cxgbe/t4_sched.c Wed Jul 25 17:20:54 2018 (r336719)
+++ head/sys/dev/cxgbe/t4_sched.c Wed Jul 25 17:45:43 2018 (r336720)
@@ -146,14 +146,6 @@ set_sched_class_params(struct adapter *sc, struct t4_s
fw_rateunit = FW_SCHED_PARAMS_UNIT_PKTRATE;
} else
return (EINVAL);
-
- if (p->level == SCHED_CLASS_LEVEL_CL_RL) {
- /*
- * Valid pkt-size must be provided.
- */
- if (p->pktsize < 0)
- return (EINVAL);
- }
} else {
MPASS(p->level == SCHED_CLASS_LEVEL_CL_WRR);
More information about the svn-src-all
mailing list