hash_init() is not necessary in btrfs_props_init(),
so remove it.
Signed-off-by: Chengguang Xu <cgxu519@xxxxxxxxxxxx>
---
fs/btrfs/props.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/fs/btrfs/props.c b/fs/btrfs/props.c
index 1e664e0b59b8..68508db3dc65 100644
--- a/fs/btrfs/props.c
+++ b/fs/btrfs/props.c
@@ -437,8 +437,6 @@ void __init btrfs_props_init(void)
{
int i;
- hash_init(prop_handlers_ht);
-
for (i = 0; i < ARRAY_SIZE(prop_handlers); i++) {
struct prop_handler *p = &prop_handlers[i];
u64 h = btrfs_name_hash(p->xattr_name, strlen(p->xattr_name));
--
2.21.0