[PATCH v2] erofs: remove unused enum type

Hongbo Li posted 1 patch 9 months, 2 weeks ago
fs/erofs/super.c | 1 -
1 file changed, 1 deletion(-)
[PATCH v2] erofs: remove unused enum type
Posted by Hongbo Li 9 months, 2 weeks ago
Opt_err is not used in EROFS, we can remove it.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
---
v1: https://lore.kernel.org/all/20250428142631.488431-1-lihongbo22@huawei.com/
  - Keep the trailing ','.
---
 fs/erofs/super.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/erofs/super.c b/fs/erofs/super.c
index cadec6b1b554..da6ee7c39290 100644
--- a/fs/erofs/super.c
+++ b/fs/erofs/super.c
@@ -357,7 +357,6 @@ static void erofs_default_options(struct erofs_sb_info *sbi)
 enum {
 	Opt_user_xattr, Opt_acl, Opt_cache_strategy, Opt_dax, Opt_dax_enum,
 	Opt_device, Opt_fsid, Opt_domain_id, Opt_directio,
-	Opt_err
 };
 
 static const struct constant_table erofs_param_cache_strategy[] = {
-- 
2.22.0
Re: [PATCH v2] erofs: remove unused enum type
Posted by Gao Xiang 9 months, 2 weeks ago
On Tue, Apr 29, 2025 at 07:50:56AM +0000, Hongbo Li wrote:
> Opt_err is not used in EROFS, we can remove it.
> 
> Signed-off-by: Hongbo Li <lihongbo22@huawei.com>

Reviewed-by: Gao Xiang <xiang@kernel.org>

Thanks,
Gao Xiang