f2fs: remove F2FS_SET_FEATURE() and F2FS_CLEAR_FEATURE() macro
authorYangtao Li <frank.li@vivo.com>
Thu, 24 Nov 2022 03:37:08 +0000 (11:37 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Mon, 12 Dec 2022 22:53:20 +0000 (14:53 -0800)
commite480751970e84bc13ab5c288dbbe16b0638cc088
tree1813d70d6b4215ae62d84d239115b42a59aa1065
parent870af777da22505851174a34c0228042d7ed5f5f
f2fs: remove F2FS_SET_FEATURE() and F2FS_CLEAR_FEATURE() macro

F2FS_SET_FEATURE() and F2FS_CLEAR_FEATURE() have never
been used since they were introduced by this commit
76f105a2dbcd("f2fs: add feature facility in superblock").

So let's remove them. BTW, convert f2fs_sb_has_##name to return bool.

Signed-off-by: Yangtao Li <frank.li@vivo.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/f2fs.h