* [PATCH] nfs: remove unused NFS_CALL macro
@ 2024-02-15 18:42 Jeff Layton
0 siblings, 0 replies; only message in thread
From: Jeff Layton @ 2024-02-15 18:42 UTC (permalink / raw)
To: trond.myklebust, anna; +Cc: linux-nfs
Nothing uses this, and thank goodness, as the syntax looks horrid.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
---
include/linux/nfs_xdr.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index 539b57fbf3ce..d09b9773b20c 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
*/
--
2.43.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2024-02-15 18:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-15 18:42 [PATCH] nfs: remove unused NFS_CALL macro Jeff Layton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox