Skip to contentSkip to conversation

NFS: remove unused macros

PATCH New Alex Shi 1 participant 1 message Jan 21, 2020

Subsystems (2)
lore
Share & tools
lore

Alex Shi

author
#0 lore raw

PATCH 1/1 NFS: remove unused macros

MNT_fhs_status_sz/MNT_fhandle3_sz are never used after they were introduced. So better to remove them.

---
 fs/nfs/mount_clnt.c | 2 --
 1 file changed, 2 deletions(-)
fs/nfs/mount_clnt.c +0 -2
index cb7c10e9721e..35c8cb2d7637 100644
@@ -29,9 +29,7 @@
  */
 #define encode_dirpath_sz	(1 + XDR_QUADLEN(MNTPATHLEN))
 #define MNT_status_sz		(1)
-#define MNT_fhs_status_sz	(1)
 #define MNT_fhandle_sz		XDR_QUADLEN(NFS2_FHSIZE)
-#define MNT_fhandle3_sz		(1 + XDR_QUADLEN(NFS3_FHSIZE))
 #define MNT_authflav3_sz	(1 + NFS_MAX_SECFLAVORS)
 
 /*
Signature · 1 line
1.8.3.1