aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Dobriyan <adobriyan@gmail.com>2017-11-20 10:05:52 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2018-01-25 19:34:30 -0500
commitb35d786b674345bb32b5181d48408ec2de147011 (patch)
treed3d7d4b76d6c252cbefcb04a1ed6bbe33d9927d5
parent854d3e63438d72cde8296a4c4564898c5f9dd01a (diff)
dcache: delete unused d_hash_mask
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/dcache.c5
1 files changed, 2 insertions, 3 deletions
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);
103 * information, yet avoid using a prime hash-size or similar. 103 * information, yet avoid using a prime hash-size or similar.
104 */ 104 */
105 105
106static unsigned int d_hash_mask __read_mostly;
107static unsigned int d_hash_shift __read_mostly; 106static unsigned int d_hash_shift __read_mostly;
108 107
109static struct hlist_bl_head *dentry_hashtable __read_mostly; 108static struct hlist_bl_head *dentry_hashtable __read_mostly;
@@ -3590,7 +3589,7 @@ static void __init dcache_init_early(void)
3590 13, 3589 13,
3591 HASH_EARLY | HASH_ZERO, 3590 HASH_EARLY | HASH_ZERO,
3592 &d_hash_shift, 3591 &d_hash_shift,
3593 &d_hash_mask, 3592 NULL,
3594 0, 3593 0,
3595 0); 3594 0);
3596 d_hash_shift = 32 - d_hash_shift; 3595 d_hash_shift = 32 - d_hash_shift;
@@ -3617,7 +3616,7 @@ static void __init dcache_init(void)
3617 13, 3616 13,
3618 HASH_ZERO, 3617 HASH_ZERO,
3619 &d_hash_shift, 3618 &d_hash_shift,
3620 &d_hash_mask, 3619 NULL,
3621 0, 3620 0,
3622 0); 3621 0);
3623 d_hash_shift = 32 - d_hash_shift; 3622 d_hash_shift = 32 - d_hash_shift;