Author: glebius
Date: Wed Feb 10 18:36:51 2016
New Revision: 295481
URL: https://svnweb.freebsd.org/changeset/base/295481

Log:
  Garbage collect m_getclr().

Modified:
  head/sys/sys/mbuf.h

Modified: head/sys/sys/mbuf.h
==============================================================================
--- head/sys/sys/mbuf.h Wed Feb 10 18:29:37 2016        (r295480)
+++ head/sys/sys/mbuf.h Wed Feb 10 18:36:51 2016        (r295481)
@@ -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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to