diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 08:36:06 +0200 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 11:27:25 +0200 |
commit | 53a7f9961cddf505a9f3a7baa017e5af31838840 (patch) | |
tree | acca6a69d4e2c6ecf1e098cfaa29cdd186460c63 /fs/erofs/internal.h | |
parent | erofs: fold in z_erofs_reload_indexes() (diff) | |
download | linux-53a7f9961cddf505a9f3a7baa017e5af31838840.tar.xz linux-53a7f9961cddf505a9f3a7baa017e5af31838840.zip |
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/internal.h')
-rw-r--r-- | fs/erofs/internal.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/erofs/internal.h b/fs/erofs/internal.h index a6333c283e3d..0318530bc78a 100644 --- a/fs/erofs/internal.h +++ b/fs/erofs/internal.h @@ -196,7 +196,6 @@ enum { EROFS_ZIP_CACHE_READAROUND }; -#ifdef CONFIG_EROFS_FS_ZIP #define EROFS_LOCKED_MAGIC (INT_MIN | 0xE0F510CCL) /* basic unit of the workstation of a super_block */ @@ -236,7 +235,6 @@ static inline int erofs_wait_on_workgroup_freezed(struct erofs_workgroup *grp) return atomic_cond_read_relaxed(&grp->refcount, VAL != EROFS_LOCKED_MAGIC); } -#endif /* !CONFIG_EROFS_FS_ZIP */ /* we strictly follow PAGE_SIZE and no buffer head yet */ #define LOG_BLOCK_SIZE PAGE_SHIFT |