summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-10-30 23:19:35 +0000
committerthib <thib@openbsd.org>2007-10-30 23:19:35 +0000
commit5d2f88d2a67ba64db8b1041bc4c2d4c713ac182c (patch)
tree6a42594dc5706632e5949532d2f9f7b5cd000cb5
parentuntangle a mess in the state update logic (diff)
downloadwireguard-openbsd-5d2f88d2a67ba64db8b1041bc4c2d4c713ac182c.tar.xz
wireguard-openbsd-5d2f88d2a67ba64db8b1041bc4c2d4c713ac182c.zip
remove an unused macro, NFSMINOFF;
ok beck@, blambert@ "Kill it. Kill it dead." krw@
-rw-r--r--sys/nfs/nfsm_subs.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/nfs/nfsm_subs.h b/sys/nfs/nfsm_subs.h
index 89ab7245392..ae90478e0e3 100644
--- a/sys/nfs/nfsm_subs.h
+++ b/sys/nfs/nfsm_subs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsm_subs.h,v 1.19 2007/10/28 14:12:41 thib Exp $ */
+/* $OpenBSD: nfsm_subs.h,v 1.20 2007/10/30 23:19:35 thib Exp $ */
/* $NetBSD: nfsm_subs.h,v 1.10 1996/03/20 21:59:56 fvdl Exp $ */
/*
@@ -51,13 +51,6 @@
*/
#define M_HASCL(m) ((m)->m_flags & M_EXT)
-#define NFSMINOFF(m) \
- if (M_HASCL(m)) \
- (m)->m_data = (m)->m_ext.ext_buf; \
- else if ((m)->m_flags & M_PKTHDR) \
- (m)->m_data = (m)->m_pktdat; \
- else \
- (m)->m_data = (m)->m_dat
#define NFSMADV(m, s) (m)->m_data += (s)
#define NFSMSIZ(m) ((M_HASCL(m)) ? (m)->m_ext.ext_size : \
(((m)->m_flags & M_PKTHDR) ? MHLEN : MLEN))