]> git.baikalelectronics.ru Git - kernel.git/commitdiff
NFS: remove unused macros
authorAlex Shi <alex.shi@linux.alibaba.com>
Tue, 21 Jan 2020 08:49:56 +0000 (16:49 +0800)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Mon, 3 Feb 2020 15:43:06 +0000 (10:43 -0500)
MNT_fhs_status_sz/MNT_fhandle3_sz are never used after they were
introduced. So better to remove them.

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: linux-nfs@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
fs/nfs/mount_clnt.c

index cb7c10e9721eb914028d24e85eb0b409e73d04c8..35c8cb2d76372087d29326ebfd66ec5ee4ed76d9 100644 (file)
@@ -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)
 
 /*