nfs: remove unused NFS_CALL macro
authorJeff Layton <jlayton@kernel.org>
Thu, 15 Feb 2024 18:42:40 +0000 (13:42 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 9 Mar 2024 14:14:50 +0000 (09:14 -0500)
Nothing uses this, and thank goodness, as the syntax looks horrid.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/nfs_xdr.h

index 539b57fbf3ce397ae80bbe186547f77100830d1b..d09b9773b20c8251f5a2e9232bbed6b22f6bd708 100644 (file)
@@ -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
  */