diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-26 15:16:40 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2009-01-26 15:16:40 +0000 |
commit | 39c626c50d5e00be49051158974b33b9181db6e3 (patch) | |
tree | 6d1ddbd0042dd0862fef39e801f51d22ce2be73a /sys/kern/uipc_mbuf.c | |
parent | c68874c89c234949c889dfc7c468a0d578403c82 (diff) |
Remove unneeded brackets that where left over from when these were macros.
OK dlg@
Diffstat (limited to 'sys/kern/uipc_mbuf.c')
-rw-r--r-- | sys/kern/uipc_mbuf.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c index eed5cfd7c76..6ce7b34f0ac 100644 --- a/sys/kern/uipc_mbuf.c +++ b/sys/kern/uipc_mbuf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_mbuf.c,v 1.114 2008/12/23 01:06:35 deraadt Exp $ */ +/* $OpenBSD: uipc_mbuf.c,v 1.115 2009/01/26 15:16:39 claudio Exp $ */ /* $NetBSD: uipc_mbuf.c,v 1.15.4.1 1996/06/13 17:11:44 cgd Exp $ */ /* @@ -1264,11 +1264,11 @@ m_apply(struct mbuf *m, int off, int len, int m_leadingspace(struct mbuf *m) { - if (M_READONLY((m))) + if (M_READONLY(m)) return 0; - return ((m)->m_flags & M_EXT ? (m)->m_data - (m)->m_ext.ext_buf : - (m)->m_flags & M_PKTHDR ? (m)->m_data - (m)->m_pktdat : - (m)->m_data - (m)->m_dat); + return (m->m_flags & M_EXT ? m->m_data - m->m_ext.ext_buf : + m->m_flags & M_PKTHDR ? m->m_data - m->m_pktdat : + m->m_data - m->m_dat); } int @@ -1276,7 +1276,7 @@ m_trailingspace(struct mbuf *m) { if (M_READONLY(m)) return 0; - return ((m)->m_flags & M_EXT ? (m)->m_ext.ext_buf + - (m)->m_ext.ext_size - ((m)->m_data + (m)->m_len) : - &(m)->m_dat[MLEN] - ((m)->m_data + (m)->m_len)); + return (m->m_flags & M_EXT ? m->m_ext.ext_buf + + m->m_ext.ext_size - (m->m_data + m->m_len) : + &m->m_dat[MLEN] - (m->m_data + m->m_len)); } |