Garbage collect m_getclr().
This commit is contained in:
parent
7342fc0c5b
commit
3148d24a20
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user