Date: Wed, 18 May 2016 15:44:45 +0000 (UTC) From: Scott Long <scottl@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300153 - head/sys/net Message-ID: <201605181544.u4IFijKq030687@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: scottl Date: Wed May 18 15:44:45 2016 New Revision: 300153 URL: https://svnweb.freebsd.org/changeset/base/300153 Log: Remove assertions that don't make sense for the data type. Modified: head/sys/net/iflib.c Modified: head/sys/net/iflib.c ============================================================================== --- head/sys/net/iflib.c Wed May 18 15:25:45 2016 (r300152) +++ head/sys/net/iflib.c Wed May 18 15:44:45 2016 (r300153) @@ -1534,7 +1534,6 @@ _iflib_fl_refill(if_ctx_t ctx, iflib_fl_ 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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605181544.u4IFijKq030687>