svn commit: r230216 - stable/9/sys/kern
Kevin Lo
kevlo at FreeBSD.org
Mon Jan 16 14:31:01 UTC 2012
Author: kevlo
Date: Mon Jan 16 14:31:01 2012
New Revision: 230216
URL: http://svn.freebsd.org/changeset/base/230216
Log:
Fix build breakage
Modified:
stable/9/sys/kern/subr_mchain.c
Modified: stable/9/sys/kern/subr_mchain.c
==============================================================================
--- stable/9/sys/kern/subr_mchain.c Mon Jan 16 13:23:19 2012 (r230215)
+++ stable/9/sys/kern/subr_mchain.c Mon Jan 16 14:31:01 2012 (r230216)
@@ -133,21 +133,6 @@ mb_put_padbyte(struct mbchain *mbp)
caddr_t dst;
char x = 0;
- dst = mtod(mbp->mb_cur, caddr_t) + mbp->mb_cur->m_len;
-
- /* only add padding if address is odd */
- if ((unsigned long)dst & 1)
- return mb_put_mem(mbp, (caddr_t)&x, 1, MB_MSYSTEM);
- else
- return 0;
-}
-
-int
-mb_put_padbyte(struct mbchain *mbp)
-{
- caddr_t dst;
- char x = 0;
-
dst = mtod(mbp->mb_cur, caddr_t) + mbp->mb_cur->m_len;
/* only add padding if address is odd */
More information about the svn-src-stable-9
mailing list