From: Jeff Layton Date: Thu, 15 Feb 2024 18:42:40 +0000 (-0500) Subject: nfs: remove unused NFS_CALL macro X-Git-Tag: v6.9-rc1~81^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=edc99a2dd3ce07f61c379e641e417c07226be5ec;p=thirdparty%2Fkernel%2Flinux.git nfs: remove unused NFS_CALL macro Nothing uses this, and thank goodness, as the syntax looks horrid. Signed-off-by: Jeff Layton Signed-off-by: Trond Myklebust --- diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h index 539b57fbf3ce3..d09b9773b20c8 100644 --- a/include/linux/nfs_xdr.h +++ b/include/linux/nfs_xdr.h @@ -1820,13 +1820,6 @@ struct nfs_rpc_ops { void (*disable_swap)(struct inode *inode); }; -/* - * NFS_CALL(getattr, inode, (fattr)); - * into - * NFS_PROTO(inode)->getattr(fattr); - */ -#define NFS_CALL(op, inode, args) NFS_PROTO(inode)->op args - /* * Function vectors etc. for the NFS client */