mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
cxgbe(4): Remove useless code that crept in with r336718.
MFC after: 3 days X-MFC With: 336718
This commit is contained in:
parent
ffcf81c99d
commit
2095de1c3f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336720
|
@ -146,14 +146,6 @@ set_sched_class_params(struct adapter *sc, struct t4_sched_class_params *p,
|
|||
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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue