From b35d786b674345bb32b5181d48408ec2de147011 Mon Sep 17 00:00:00 2001 From: Alexey Dobriyan Date: Mon, 20 Nov 2017 18:05:52 +0300 Subject: dcache: delete unused d_hash_mask Signed-off-by: Alexey Dobriyan Signed-off-by: Al Viro --- fs/dcache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fs/dcache.c') diff --git a/fs/dcache.c b/fs/dcache.c index d4f5b52d99be..f110e9eebb58 100644 --- a/fs/dcache.c +++ b/fs/dcache.c @@ -103,7 +103,6 @@ EXPORT_SYMBOL(slash_name); * information, yet avoid using a prime hash-size or similar. */ -static unsigned int d_hash_mask __read_mostly; static unsigned int d_hash_shift __read_mostly; static struct hlist_bl_head *dentry_hashtable __read_mostly; @@ -3590,7 +3589,7 @@ static void __init dcache_init_early(void) 13, HASH_EARLY | HASH_ZERO, &d_hash_shift, - &d_hash_mask, + NULL, 0, 0); d_hash_shift = 32 - d_hash_shift; @@ -3617,7 +3616,7 @@ static void __init dcache_init(void) 13, HASH_ZERO, &d_hash_shift, - &d_hash_mask, + NULL, 0, 0); d_hash_shift = 32 - d_hash_shift; -- cgit v1.2.1