summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs4state.c
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2011-01-14 12:35:59 +0300
committerJ. Bruce Fields <bfields@redhat.com>2011-03-07 20:05:09 +0300
commit35079582e72efcabf7c70f3d3ee4f96e6f196606 (patch)
tree5c00cde404ab4492c699510b9dd5b5d16bcffe7e /fs/nfsd/nfs4state.c
parentf32cb53219a956b96a4cd1ee7c6b1b8a48d40e9f (diff)
downloadlinux-35079582e72efcabf7c70f3d3ee4f96e6f196606.tar.xz
nfsd: kill unused macro definition
These macros had never been used for several years. So, remove them. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfs4state.c')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 54b60bfceb8d..c4f2b0f63e46 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -148,7 +148,7 @@ static struct list_head ownerstr_hashtbl[OWNER_HASH_SIZE];
/* hash table for nfs4_file */
#define FILE_HASH_BITS 8
#define FILE_HASH_SIZE (1 << FILE_HASH_BITS)
-#define FILE_HASH_MASK (FILE_HASH_SIZE - 1)
+
/* hash table for (open)nfs4_stateid */
#define STATEID_HASH_BITS 10
#define STATEID_HASH_SIZE (1 << STATEID_HASH_BITS)