From ed6877ef4b151d98ee27ffca6b16e2e48e915242 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Wed, 10 Feb 2016 18:36:51 +0000 Subject: [PATCH] Garbage collect m_getclr(). --- sys/sys/mbuf.h | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 91dd8958c08..a4aa0bcf86b 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -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) {