aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Macklem <rmacklem@FreeBSD.org>2022-06-24 20:56:35 +0000
committerRick Macklem <rmacklem@FreeBSD.org>2022-06-24 20:56:35 +0000
commitc11e64ce513083ab1841c6ff88544e839fa37a82 (patch)
tree18c1e56dfd0c24a3930773634ae0d2da3c7ea114
parent1ebc14c900eb182ce238030b5d0db20b1815d431 (diff)
downloadsrc-c11e64ce513083ab1841c6ff88544e839fa37a82.tar.gz
src-c11e64ce513083ab1841c6ff88544e839fa37a82.zip
nfscommon: Clean up the code by removing the vnode_vtype() macro
The vnode_vtype() macro was used to make the code compatible with Mac OSX, for the Mac OSX port. For FreeBSD, this macro just obscured the code and, therefore, use of the macro has been deleted by previous commits. This commit deletes the, now unused, macro. This commit should not result in a semantics change.
-rw-r--r--sys/fs/nfs/nfskpiport.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/fs/nfs/nfskpiport.h b/sys/fs/nfs/nfskpiport.h
index 311465aba607..e628e72d3765 100644
--- a/sys/fs/nfs/nfskpiport.h
+++ b/sys/fs/nfs/nfskpiport.h
@@ -38,6 +38,5 @@
typedef struct mount * mount_t;
typedef struct vnode * vnode_t;
-#define vnode_vtype(v) ((v)->v_type)
#endif /* _NFS_NFSKPIPORT_H */