diff mbox

[2/2] dcache: delete unused d_hash_mask

Message ID 20171120150552.GB5832@avx2 (mailing list archive)
State New, archived
Headers show

Commit Message

Alexey Dobriyan Nov. 20, 2017, 3:05 p.m. UTC
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
---

 fs/dcache.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox

Patch

--- a/fs/dcache.c
+++ b/fs/dcache.c
@@ -104,7 +104,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;
@@ -3589,7 +3588,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;
@@ -3616,7 +3615,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;