summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorbmilekic <bmilekic@FreeBSD.org>2004-07-21 21:03:01 +0000
committerbmilekic <bmilekic@FreeBSD.org>2004-07-21 21:03:01 +0000
commit8f7a784378001685143caa57d4bbf2673b9e1be1 (patch)
tree16cae26dd78cac27005e1d71041e084af97985b7 /sys/sys/mbuf.h
parentd7343d0e328a6166b38eec1e02e3f4781d0ae25b (diff)
downloadFreeBSD-src-8f7a784378001685143caa57d4bbf2673b9e1be1.zip
FreeBSD-src-8f7a784378001685143caa57d4bbf2673b9e1be1.tar.gz
Back out just a portion of Alfred's last commit. Remove the MBUF_CHECK
(WITNESS) for code paths that always call uma_zalloc_arg() shortly after where the check was, because uma_zalloc_arg() already does a similar check. No objections from Alfred. Thanks Alfred.
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r--sys/sys/mbuf.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h
index 8eb9606..1056ceb 100644
--- a/sys/sys/mbuf.h
+++ b/sys/sys/mbuf.h
@@ -342,7 +342,6 @@ m_get(int how, short type)
{
struct mb_args args;
- MBUF_CHECKSLEEP(how);
args.flags = 0;
args.how = how;
args.type = type;
@@ -357,7 +356,6 @@ m_getclr(int how, short type)
struct mbuf *m;
struct mb_args args;
- MBUF_CHECKSLEEP(how);
args.flags = 0;
args.how = how;
args.type = type;
@@ -373,7 +371,6 @@ m_gethdr(int how, short type)
{
struct mb_args args;
- MBUF_CHECKSLEEP(how);
args.flags = M_PKTHDR;
args.how = how;
args.type = type;
@@ -386,7 +383,6 @@ m_getcl(int how, short type, int flags)
{
struct mb_args args;
- MBUF_CHECKSLEEP(how);
args.flags = flags;
args.how = how;
args.type = type;
@@ -414,7 +410,6 @@ void
m_clget(struct mbuf *m, int how)
{
- MBUF_CHECKSLEEP(how);
m->m_ext.ext_buf = NULL;
uma_zalloc_arg(zone_clust, m, how);
}
OpenPOWER on IntegriCloud