Skip to contentSkip to conversation

fs/lockd: remove unused NLM4_void_sz to tame compiler

PATCH New Alex Shi 1 participant 1 message Nov 6, 2020

Subsystems (2)
lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 fs/lockd: remove unused NLM4_void_sz to tame compiler

This macro isn't used, so let's remove it to tame gcc. fs/lockd/clnt4xdr.c:34:0: warning: macro "NLM4_void_sz" is not used [-Wunused-macros]

Cc Trond Myklebust <[email protected]>
Cc Anna Schumaker <[email protected]>
Cc "J. Bruce Fields" <[email protected]>
Cc Chuck Lever <[email protected]>
---
 fs/lockd/clnt4xdr.c | 1 -
 1 file changed, 1 deletion(-)
fs/lockd/clnt4xdr.c +0 -1
index 7df6324ccb8a..7b1823b2034a 100644
@@ -31,7 +31,6 @@
  * Declare the space requirements for NLM arguments and replies as
  * number of 32bit-words
  */
-#define NLM4_void_sz		(0)
 #define NLM4_cookie_sz		(1+(NLM_MAXCOOKIELEN>>2))
 #define NLM4_caller_sz		(1+(NLMCLNT_OHSIZE>>2))
 #define NLM4_owner_sz		(1+(NLMCLNT_OHSIZE>>2))
Signature · 1 line
1.8.3.1