summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/uipc_mbuf.c2
-rw-r--r--sys/sys/mbuf.h5
2 files changed, 0 insertions, 7 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
index a9a93fd..a1449d8 100644
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -105,7 +105,6 @@ m_getm(struct mbuf *m, int len, int how, short type)
int i;
KASSERT(len >= 0, ("m_getm(): len is < 0"));
- MBUF_CHECKSLEEP(how);
/* If m != NULL, we will append to the end of that chain. */
if (m != NULL)
@@ -331,7 +330,6 @@ m_prepend(struct mbuf *m, int len, int how)
{
struct mbuf *mn;
- MBUF_CHECKSLEEP(how);
if (m->m_flags & M_PKTHDR)
MGETHDR(mn, how, m->m_type);
else
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