linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] fs/lockd: remove unused NLM4_void_sz to tame compiler
@ 2020-11-06  3:03 Alex Shi
  0 siblings, 0 replies; only message in thread
From: Alex Shi @ 2020-11-06  3:03 UTC (permalink / raw)
  To: trond.myklebust, chuck.lever
  Cc: Anna Schumaker, J. Bruce Fields, linux-nfs, linux-kernel

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]

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Trond Myklebust <trond.myklebust@hammerspace.com> 
Cc: Anna Schumaker <anna.schumaker@netapp.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 
---
 fs/lockd/clnt4xdr.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/lockd/clnt4xdr.c b/fs/lockd/clnt4xdr.c
index 7df6324ccb8a..7b1823b2034a 100644
--- a/fs/lockd/clnt4xdr.c
+++ b/fs/lockd/clnt4xdr.c
@@ -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))
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-06  3:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-06  3:03 [PATCH] fs/lockd: remove unused NLM4_void_sz to tame compiler Alex Shi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).