]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: remove redundant condition check
authorChengguang Xu <cgxu519@gmx.com>
Tue, 4 Dec 2018 05:24:42 +0000 (00:24 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Tue, 4 Dec 2018 05:24:42 +0000 (00:24 -0500)
commit999a8f067ea3ecd95a297fd54de6f704d7f544d1
tree01bd379f3cf6ba4cede3e8ff006c280639b32cc3
parentf2dc4c7286288be832bc04b7adb164ca8e0079f2
ext4: remove redundant condition check

ext4_xattr_destroy_cache() can handle NULL pointer correctly,
so there is no need to check NULL pointer before calling
ext4_xattr_destroy_cache().

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c