Thread (47 messages) 47 messages, 7 authors, 2024-03-22
STALE844d

[PATCH RFC 16/24] nfs: remove unused NFS_CALL macro

From: Jeff Layton <jlayton@kernel.org>
Date: 2024-03-15 16:53:58
Also in: linux-cifs, linux-fsdevel, linux-nfs, linux-unionfs, lkml, netfs
Subsystem: nfs, sunrpc, and lockd clients, the rest · Maintainers: Trond Myklebust, Anna Schumaker, Linus Torvalds

Nothing uses this, and thank goodness as the syntax is 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.44.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help