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)
commit50c15df69e062bf056b44d5bb51fac5ed957fa37
tree01bd379f3cf6ba4cede3e8ff006c280639b32cc3
parent561405f031fec0a124a19c8f16275730f63fb3d9
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