Skip to content

Commit b35d786

Browse files
Alexey DobriyanAl Viro
authored andcommitted
dcache: delete unused d_hash_mask
Signed-off-by: Alexey Dobriyan <[email protected]> Signed-off-by: Al Viro <[email protected]>
1 parent 854d3e6 commit b35d786

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fs/dcache.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ EXPORT_SYMBOL(slash_name);
103103
* information, yet avoid using a prime hash-size or similar.
104104
*/
105105

106-
static unsigned int d_hash_mask __read_mostly;
107106
static unsigned int d_hash_shift __read_mostly;
108107

109108
static struct hlist_bl_head *dentry_hashtable __read_mostly;
@@ -3590,7 +3589,7 @@ static void __init dcache_init_early(void)
35903589
13,
35913590
HASH_EARLY | HASH_ZERO,
35923591
&d_hash_shift,
3593-
&d_hash_mask,
3592+
NULL,
35943593
0,
35953594
0);
35963595
d_hash_shift = 32 - d_hash_shift;
@@ -3617,7 +3616,7 @@ static void __init dcache_init(void)
36173616
13,
36183617
HASH_ZERO,
36193618
&d_hash_shift,
3620-
&d_hash_mask,
3619+
NULL,
36213620
0,
36223621
0);
36233622
d_hash_shift = 32 - d_hash_shift;

0 commit comments

Comments
 (0)