summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThordur I. Bjornsson <thib@cvs.openbsd.org>2007-10-30 23:19:36 +0000
committerThordur I. Bjornsson <thib@cvs.openbsd.org>2007-10-30 23:19:36 +0000
commitc3a2ea5921520d0d9ca7796593f9e077c411502d (patch)
tree63dae6419a4c0df4eac881dbbb2d5528c50607d7 /sys
parent12dfe0b012c16d3dff4e465111307f3ef6fa3a79 (diff)
remove an unused macro, NFSMINOFF;
ok beck@, blambert@ "Kill it. Kill it dead." krw@
Diffstat (limited to 'sys')
-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))