ext2: remove redundant condition check
authorChengguang Xu <cgxu519@gmx.com>
Tue, 13 Nov 2018 23:23:53 +0000 (07:23 +0800)
committerJan Kara <jack@suse.cz>
Wed, 14 Nov 2018 12:14:56 +0000 (13:14 +0100)
commit569ae9209425560e1a94114231d0782e1cc19df1
tree8196679aaf7c3b4a905db540dc973281f7383fad
parentc0ed7b51ca9983086e03668f0ca20dc67ac663f4
ext2: remove redundant condition check

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

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/ext2/super.c