diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 14:36:06 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2022-09-27 17:27:25 +0800 |
commit | 53a7f9961cddf505a9f3a7baa017e5af31838840 (patch) | |
tree | acca6a69d4e2c6ecf1e098cfaa29cdd186460c63 /fs/erofs/xattr.h | |
parent | 31da107fdb0a01b889af41cd94a9904e1f6ffaa6 (diff) | |
download | linux-stable-53a7f9961cddf505a9f3a7baa017e5af31838840.tar.gz linux-stable-53a7f9961cddf505a9f3a7baa017e5af31838840.tar.bz2 linux-stable-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/xattr.h')
-rw-r--r-- | fs/erofs/xattr.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/erofs/xattr.h b/fs/erofs/xattr.h index 332462c59f11..0a43c9ee9f8f 100644 --- a/fs/erofs/xattr.h +++ b/fs/erofs/xattr.h @@ -39,9 +39,7 @@ static inline unsigned int xattrblock_offset(struct erofs_sb_info *sbi, #ifdef CONFIG_EROFS_FS_XATTR extern const struct xattr_handler erofs_xattr_user_handler; extern const struct xattr_handler erofs_xattr_trusted_handler; -#ifdef CONFIG_EROFS_FS_SECURITY extern const struct xattr_handler erofs_xattr_security_handler; -#endif static inline const struct xattr_handler *erofs_xattr_handler(unsigned int idx) { |