Date: Fri, 24 Jun 2022 20:57:27 GMT From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c11e64ce5130 - main - nfscommon: Clean up the code by removing the vnode_vtype() macro Message-ID: <202206242057.25OKvR4D093322@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=c11e64ce513083ab1841c6ff88544e839fa37a82 commit c11e64ce513083ab1841c6ff88544e839fa37a82 Author: Rick Macklem <rmacklem@FreeBSD.org> AuthorDate: 2022-06-24 20:56:35 +0000 Commit: Rick Macklem <rmacklem@FreeBSD.org> CommitDate: 2022-06-24 20:56:35 +0000 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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202206242057.25OKvR4D093322>