Skip to contentSkip to conversation

nfsd/nfs3: remove unused macro nfsd3_fhandleres

PATCH Applied Alex Shi 2 participants 2 messages Nov 6, 2020

Subsystems (2)
lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 nfsd/nfs3: remove unused macro nfsd3_fhandleres

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]

---
 fs/nfsd/nfs3proc.c | 1 -
 1 file changed, 1 deletion(-)
fs/nfsd/nfs3proc.c +0 -1
index 781e265921aa..6e79bae0af4d 100644
@@ -687,7 +687,6 @@
 #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
Signature · 1 line
1.8.3.1
Applied
#1 lore raw
Quoted 31 lines · Alex Shi

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]

---
fs/nfsd/nfs3proc.c | 1 -

1 file changed, 1 deletion(-)
fs/nfsd/nfs3proc.c +0 -1
index 781e265921aa..6e79bae0af4d 100644
@@ -687,7 +687,6 @@
 #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
Signature · 1 line
1.8.3.1

Applied to cel-next, thanks Alex.

The topic branch that collects patches for nfsd-5.11 is here:

http://git.linux-nfs.org/?p=cel/cel-2.6.git;a=shortlog;h=refs/heads/cel-next

--
Chuck Lever