mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove assertions that don't make sense for the data type.
This commit is contained in:
parent
872a3a62ae
commit
c7762913ac
1 changed files with 0 additions and 2 deletions
|
|
@ -1534,7 +1534,6 @@ _iflib_fl_refill(if_ctx_t ctx, iflib_fl_t fl, int count)
|
|||
|
||||
n = count;
|
||||
MPASS(n > 0);
|
||||
MPASS(fl->ifl_credits >= 0);
|
||||
MPASS(fl->ifl_credits + n <= fl->ifl_size);
|
||||
|
||||
if (pidx < fl->ifl_cidx)
|
||||
|
|
@ -1663,7 +1662,6 @@ iflib_fl_bufs_free(iflib_fl_t fl)
|
|||
iflib_dma_info_t idi = fl->ifl_ifdi;
|
||||
uint32_t i;
|
||||
|
||||
MPASS(fl->ifl_credits >= 0);
|
||||
for (i = 0; i < fl->ifl_size; i++) {
|
||||
iflib_rxsd_t d = &fl->ifl_sds[i];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue