ubifs: xattr: remove unused anonymous enum
authorPascal Eberhard <pascal.eberhard@se.com>
Fri, 27 Sep 2024 14:57:56 +0000 (16:57 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 14 Nov 2024 18:30:26 +0000 (19:30 +0100)
commit 2b88fc21cae9 ("ubifs: Switch to generic xattr handlers") removes
usage of this anonymous enum. Delete the enum as well.

Signed-off-by: Pascal Eberhard <pascal.eberhard@se.com>
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
fs/ubifs/xattr.c

index 77ba172..c21a0c2 100644 (file)
 #include <linux/slab.h>
 #include <linux/xattr.h>
 
-/*
- * Extended attribute type constants.
- *
- * USER_XATTR: user extended attribute ("user.*")
- * TRUSTED_XATTR: trusted extended attribute ("trusted.*)
- * SECURITY_XATTR: security extended attribute ("security.*")
- */
-enum {
-       USER_XATTR,
-       TRUSTED_XATTR,
-       SECURITY_XATTR,
-};
-
 static const struct inode_operations empty_iops;
 static const struct file_operations empty_fops;