mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Garbage collect m_getclr().
This commit is contained in:
parent
8e89d3a42a
commit
ed6877ef4b
1 changed files with 0 additions and 17 deletions
|
|
@ -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 a new issue