f2fs: compress: remove unneeded code
authorChao Yu <yuchao0@huawei.com>
Fri, 7 Aug 2020 01:23:10 +0000 (09:23 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 10 Sep 2020 21:03:30 +0000 (14:03 -0700)
commit376207af4bf809a48bea79fc1970a17e048c734e
tree0229954a71d50867304fc67b478b7c8443743c3f
parente90027d23aecfce5c3a63b14a676377602d4bdac
f2fs: compress: remove unneeded code

- f2fs_write_multi_pages
 - f2fs_compress_pages
  - init_compress_ctx
  - compress_pages
  - destroy_compress_ctx  --- 1
 - f2fs_write_compressed_pages
 - destroy_compress_ctx  --- 2

destroy_compress_ctx() in f2fs_write_multi_pages() is redundant, remove
it.

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