linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] nfsd: kill unused ENT_HASHMASK definition
@ 2011-01-14  8:39 Shan Wei
  2011-01-14  9:35 ` [PATCH v2] nfsd: kill unused macro definition Shan Wei
  0 siblings, 1 reply; 3+ messages in thread
From: Shan Wei @ 2011-01-14  8:39 UTC (permalink / raw)
  To: bfields, neilb, linux-nfs, Kernel-Maillist

This macro definition has not been using since v2.6.12-rc2.
So, remove it now.


Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
---
 fs/nfsd/nfs4idmap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/nfsd/nfs4idmap.c b/fs/nfsd/nfs4idmap.c
index f0695e8..ce0f6b9 100644
--- a/fs/nfsd/nfs4idmap.c
+++ b/fs/nfsd/nfs4idmap.c
@@ -62,7 +62,6 @@ struct ent {
 
 #define ENT_HASHBITS          8
 #define ENT_HASHMAX           (1 << ENT_HASHBITS)
-#define ENT_HASHMASK          (ENT_HASHMAX - 1)
 
 static void
 ent_init(struct cache_head *cnew, struct cache_head *citm)
-- 
1.6.3.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-01-18 21:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-14  8:39 [PATCH] nfsd: kill unused ENT_HASHMASK definition Shan Wei
2011-01-14  9:35 ` [PATCH v2] nfsd: kill unused macro definition Shan Wei
2011-01-18 21:58   ` J. Bruce Fields

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).