f2fs: compress: remove unneed check condition
authorChao Yu <yuchao0@huawei.com>
Wed, 21 Apr 2021 08:39:41 +0000 (16:39 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 26 Apr 2021 16:50:36 +0000 (09:50 -0700)
commit8af85f712fce319dd9fe3d41046b5163e7eb0f93
treec41a68e5f916bdd3ac4146ea023334185d7c71a5
parent2e22d48dca0bc5b7fccca8d7b6caed80a9d07465
f2fs: compress: remove unneed check condition

In only call path of __cluster_may_compress(), __f2fs_write_data_pages()
has checked SBI_POR_DOING condition, and also cluster_may_compress()
has checked CP_ERROR_FLAG condition, so remove redundant check condition
in __cluster_may_compress() for cleanup.

Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/compress.c