mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 14:11:20 +00:00
dcache: delete unused d_hash_mask
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
854d3e6343
commit
b35d786b67
1 changed files with 2 additions and 3 deletions
|
@ -103,7 +103,6 @@ EXPORT_SYMBOL(slash_name);
|
||||||
* information, yet avoid using a prime hash-size or similar.
|
* 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 unsigned int d_hash_shift __read_mostly;
|
||||||
|
|
||||||
static struct hlist_bl_head *dentry_hashtable __read_mostly;
|
static struct hlist_bl_head *dentry_hashtable __read_mostly;
|
||||||
|
@ -3590,7 +3589,7 @@ static void __init dcache_init_early(void)
|
||||||
13,
|
13,
|
||||||
HASH_EARLY | HASH_ZERO,
|
HASH_EARLY | HASH_ZERO,
|
||||||
&d_hash_shift,
|
&d_hash_shift,
|
||||||
&d_hash_mask,
|
NULL,
|
||||||
0,
|
0,
|
||||||
0);
|
0);
|
||||||
d_hash_shift = 32 - d_hash_shift;
|
d_hash_shift = 32 - d_hash_shift;
|
||||||
|
@ -3617,7 +3616,7 @@ static void __init dcache_init(void)
|
||||||
13,
|
13,
|
||||||
HASH_ZERO,
|
HASH_ZERO,
|
||||||
&d_hash_shift,
|
&d_hash_shift,
|
||||||
&d_hash_mask,
|
NULL,
|
||||||
0,
|
0,
|
||||||
0);
|
0);
|
||||||
d_hash_shift = 32 - d_hash_shift;
|
d_hash_shift = 32 - d_hash_shift;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue