All the references to the M_ALIGN and MH_ALIGN macros are gone.
Time to bring them behind the shed and free them.

OK?
-- 
:wq Claudio

Index: sys/sys/mbuf.h
===================================================================
RCS file: /cvs/src/sys/sys/mbuf.h,v
retrieving revision 1.240
diff -u -p -r1.240 mbuf.h
--- sys/sys/mbuf.h      12 Nov 2018 07:45:52 -0000      1.240
+++ sys/sys/mbuf.h      12 Nov 2018 07:47:42 -0000
@@ -345,17 +345,6 @@ u_int mextfree_register(void (*)(caddr_t
 } while (/* CONSTCOND */ 0)
 
 /*
- * Set the m_data pointer of a newly-allocated mbuf (m_get/MGET) to place
- * an object of the specified size at the end of the mbuf, longword aligned.
- */
-#define        M_ALIGN(m, len)         m_align((m), (len))
-/*
- * As above, for mbufs allocated with m_gethdr/MGETHDR
- * or initialized by M_MOVE_PKTHDR.
- */
-#define        MH_ALIGN(m, len)        m_align((m), (len))
-
-/*
  * Determine if an mbuf's data area is read-only. This is true for
  * non-cluster external storage and for clusters that are being
  * referenced by more than one mbuf.
Index: share/man/man9/mbuf.9
===================================================================
RCS file: /cvs/src/share/man/man9/mbuf.9,v
retrieving revision 1.117
diff -u -p -r1.117 mbuf.9
--- share/man/man9/mbuf.9       30 Nov 2018 11:58:47 -0000      1.117
+++ share/man/man9/mbuf.9       6 Dec 2018 08:12:41 -0000
@@ -61,8 +61,6 @@
 .Nm MCLGETI ,
 .Nm MEXTADD ,
 .Nm m_align ,
-.Nm M_ALIGN ,
-.Nm MH_ALIGN ,
 .Nm M_READONLY ,
 .Nm m_leadingspace ,
 .Nm m_trailingspace ,
@@ -133,8 +131,6 @@
 "void (*free)(caddr_t, u_int, void *)" "void *arg"
 .Ft void
 .Fn m_align "struct mbuf *m" "int len"
-.Fn M_ALIGN "struct mbuf *m" "int len"
-.Fn MH_ALIGN "struct mbuf *m" "int len"
 .Fn M_READONLY "struct mbuf *m"
 .Ft int
 .Fn m_leadingspace "struct mbuf *m"
@@ -757,25 +753,6 @@ pointer of the newly allocated mbuf
 to an object of the specified size
 .Fa len
 at the end of this mbuf data area, longword aligned.
-.It Fn M_ALIGN "struct mbuf *m" "int len"
-Set the
-.Fa m_data
-pointer of the newly allocated mbuf with
-.Fn m_get
-or
-.Fn MGET
-pointed to by
-.Fa m
-to an object of the specified size
-.Fa len
-at the end of the mbuf, longword aligned.
-.It Fn MH_ALIGN "m" "len"
-Same as
-.Fn M_ALIGN
-except it is for an mbuf allocated with
-.Fn m_gethdr
-or
-.Fn MGETHDR .
 .It Fn M_READONLY "struct mbuf *m"
 Check if the data of the mbuf pointed to by
 .Fa m

Reply via email to