diff options
author | rwatson <rwatson@FreeBSD.org> | 2015-01-07 17:22:56 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2015-01-07 17:22:56 +0000 |
commit | 608a6cd69c874cda372cec94a1f06246ea2ff2a1 (patch) | |
tree | aa0f6cf11d71b9460beb1e13f043593e29175671 /sys/nfsserver | |
parent | e5abbbff85be28cc2471764d6781375f86b3c68c (diff) | |
download | FreeBSD-src-608a6cd69c874cda372cec94a1f06246ea2ff2a1.zip FreeBSD-src-608a6cd69c874cda372cec94a1f06246ea2ff2a1.tar.gz |
Use M_SIZE() instead of hand-crafted (and mostly correct) NFSMSIZ() macro
in the NFS server; garbage collect now-unused NFSMSIZ() and M_HASCL()
macros. Also garbage collect now-unused versions in headers for the
removed previous NFS client and server.
Reviewed by: rmacklem
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/nfsserver')
-rw-r--r-- | sys/nfsserver/nfsm_subs.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/nfsserver/nfsm_subs.h b/sys/nfsserver/nfsm_subs.h index fc9b76d..5bf4ca9 100644 --- a/sys/nfsserver/nfsm_subs.h +++ b/sys/nfsserver/nfsm_subs.h @@ -47,14 +47,6 @@ */ /* - * First define what the actual subs. return - */ - -#define M_HASCL(m) ((m)->m_flags & M_EXT) -#define NFSMSIZ(m) ((M_HASCL(m))?MCLBYTES: \ - (((m)->m_flags & M_PKTHDR)?MHLEN:MLEN)) - -/* * Now for the macros that do the simple stuff and call the functions * for the hard stuff. * These macros use several vars. declared in nfsm_reqhead and these |