Garbage collect m_getclr().

This commit is contained in:
glebius 2016-02-10 18:36:51 +00:00
parent 7342fc0c5b
commit 3148d24a20

View File

@ -647,23 +647,6 @@ m_get(int how, short type)
return (uma_zalloc_arg(zone_mbuf, &args, how));
}
/*
* XXX This should be deprecated, very little use.
*/
static __inline struct mbuf *
m_getclr(int how, short type)
{
struct mbuf *m;
struct mb_args args;
args.flags = 0;
args.type = type;
m = uma_zalloc_arg(zone_mbuf, &args, how);
if (m != NULL)
bzero(m->m_data, MLEN);
return (m);
}
static __inline struct mbuf *
m_gethdr(int how, short type)
{