Skip to content

Commit edc99a2

Browse files
jtlaytonTrond Myklebust
authored andcommitted
nfs: remove unused NFS_CALL macro
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>
1 parent 7e5ae43 commit edc99a2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

include/linux/nfs_xdr.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1820,13 +1820,6 @@ struct nfs_rpc_ops {
18201820
void (*disable_swap)(struct inode *inode);
18211821
};
18221822

1823-
/*
1824-
* NFS_CALL(getattr, inode, (fattr));
1825-
* into
1826-
* NFS_PROTO(inode)->getattr(fattr);
1827-
*/
1828-
#define NFS_CALL(op, inode, args) NFS_PROTO(inode)->op args
1829-
18301823
/*
18311824
* Function vectors etc. for the NFS client
18321825
*/

0 commit comments

Comments
 (0)