]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: props: remove unnecessary hash_init()
authorChengguang Xu <cgxu519@mykernel.net>
Thu, 10 Oct 2019 07:59:56 +0000 (15:59 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 18 Nov 2019 11:46:55 +0000 (12:46 +0100)
commit1007211881e48888cca5b664d0b8c1d070b34188
tree1477ccadde6856aa3c70444894639299bcdd294d
parentcc929c894efcc8d6f392abd80be9106a80e67329
btrfs: props: remove unnecessary hash_init()

DEFINE_HASHTABLE itself has already included initialization code,
we don't have to call hash_init() again, so remove it.

Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/props.c