Skip to contentSkip to conversation

nfs: remove unused NFS_CALL macro

PATCH New Jeff Layton 1 participant 1 message Feb 15, 2024

Subsystems (2)
lore
Share & tools
lore

Jeff Layton

author maintainer
#0 lore raw

PATCH 1/1 nfs: remove unused NFS_CALL macro

Nothing uses this, and thank goodness, as the syntax looks horrid.

---
 include/linux/nfs_xdr.h | 7 -------
 1 file changed, 7 deletions(-)
include/linux/nfs_xdr.h +0 -7
index 539b57fbf3ce..d09b9773b20c 100644
@@ -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
  */
Signature · 1 line
2.43.0