diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 09:36:06 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 12:27:25 +0300 |
commit | 53a7f9961cddf505a9f3a7baa017e5af31838840 (patch) | |
tree | acca6a69d4e2c6ecf1e098cfaa29cdd186460c63 /fs/erofs/zmap.c | |
parent | 31da107fdb0a01b889af41cd94a9904e1f6ffaa6 (diff) | |
download | linux-53a7f9961cddf505a9f3a7baa017e5af31838840.tar.xz |
erofs: clean up unnecessary code and comments
Some conditional macros and comments are useless.
Link: https://lore.kernel.org/r/20220927063607.54832-1-hsiangkao@linux.alibaba.com
Reviewed-by: Yue Hu <huyue2@coolpad.com>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'fs/erofs/zmap.c')
-rw-r--r-- | fs/erofs/zmap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/erofs/zmap.c b/fs/erofs/zmap.c index 4cecd32b87c6..44c27ef39c43 100644 --- a/fs/erofs/zmap.c +++ b/fs/erofs/zmap.c @@ -731,8 +731,7 @@ out: return err; } -int z_erofs_map_blocks_iter(struct inode *inode, - struct erofs_map_blocks *map, +int z_erofs_map_blocks_iter(struct inode *inode, struct erofs_map_blocks *map, int flags) { struct erofs_inode *const vi = EROFS_I(inode); |