nfsd/nfs3: remove unused macro nfsd3_fhandleres
authorAlex Shi <alex.shi@linux.alibaba.com>
Fri, 6 Nov 2020 05:40:57 +0000 (13:40 +0800)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Nov 2020 18:00:23 +0000 (13:00 -0500)
The macro is unused, remove it to tame gcc warning:
fs/nfsd/nfs3proc.c:702:0: warning: macro "nfsd3_fhandleres" is not used
[-Wunused-macros]

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: "J. Bruce Fields" <bfields@fieldses.org>
Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs3proc.c

index a633044b0dc1f7b9022a627c0debca97df9e9e4d..d9be589fed159c53b57bbe0df81c9ab0df9c7a08 100644 (file)
@@ -689,7 +689,6 @@ out:
 #define nfsd3_mkdirargs                        nfsd3_createargs
 #define nfsd3_readdirplusargs          nfsd3_readdirargs
 #define nfsd3_fhandleargs              nfsd_fhandle
-#define nfsd3_fhandleres               nfsd3_attrstat
 #define nfsd3_attrstatres              nfsd3_attrstat
 #define nfsd3_wccstatres               nfsd3_attrstat
 #define nfsd3_createres                        nfsd3_diropres