From c11e64ce513083ab1841c6ff88544e839fa37a82 Mon Sep 17 00:00:00 2001 From: Rick Macklem Date: Fri, 24 Jun 2022 13:56:35 -0700 Subject: [PATCH] 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. --- sys/fs/nfs/nfskpiport.h | 1 - 1 file changed, 1 deletion(-) 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 */