[PATCH v2] erofs: remove unused enum type

Hongbo Li lihongbo22 at huawei.com
Tue Apr 29 17:50:56 AEST 2025


Opt_err is not used in EROFS, we can remove it.

Signed-off-by: Hongbo Li <lihongbo22 at 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



More information about the Linux-erofs mailing list