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;