aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/erofs
diff options
context:
space:
mode:
authorGao Xiang <gaoxiang25@huawei.com>2018-08-01 14:38:31 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-01 19:50:38 +0200
commit24daf6a3c97457174f5cc075e5a210d634cfa04f (patch)
treeccc0b92e688c821798ef00fa166b69ea127eb59c /drivers/staging/erofs
parentstaging: erofs: add the missing break in z_erofs_map_blocks_iter (diff)
downloadlinux-dev-24daf6a3c97457174f5cc075e5a210d634cfa04f.tar.xz
linux-dev-24daf6a3c97457174f5cc075e5a210d634cfa04f.zip
staging: erofs: remove a redundant marco in xattr
There is no need to '#if CONFIG_EROFS_FS_XATTR' in xattr.c, let's remove it. Reviewed-by: Chao Yu <yuchao0@huawei.com> Signed-off-by: Gao Xiang <gaoxiang25@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/erofs')
-rw-r--r--drivers/staging/erofs/xattr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/erofs/xattr.c b/drivers/staging/erofs/xattr.c
index b74b314a2e3a..6b9685fa601c 100644
--- a/drivers/staging/erofs/xattr.c
+++ b/drivers/staging/erofs/xattr.c
@@ -420,7 +420,6 @@ const struct xattr_handler __maybe_unused erofs_xattr_security_handler = {
};
#endif
-#ifdef CONFIG_EROFS_FS_XATTR
const struct xattr_handler *erofs_xattr_handlers[] = {
&erofs_xattr_user_handler,
#ifdef CONFIG_EROFS_FS_POSIX_ACL
@@ -433,7 +432,6 @@ const struct xattr_handler *erofs_xattr_handlers[] = {
#endif
NULL,
};
-#endif
struct listxattr_iter {
struct xattr_iter it;