From: Pascal Eberhard Date: Fri, 27 Sep 2024 14:57:56 +0000 (+0200) Subject: ubifs: xattr: remove unused anonymous enum X-Git-Tag: v6.13-rc1~19^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8214951280a25e1260ee6dbf472b261b63b29af2;p=thirdparty%2Fkernel%2Fstable.git ubifs: xattr: remove unused anonymous enum commit 2b88fc21cae9 ("ubifs: Switch to generic xattr handlers") removes usage of this anonymous enum. Delete the enum as well. Signed-off-by: Pascal Eberhard Reviewed-by: Zhihao Cheng Signed-off-by: Richard Weinberger --- diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c index 77ba172b6dead..c21a0c2b3e907 100644 --- a/fs/ubifs/xattr.c +++ b/fs/ubifs/xattr.c @@ -48,19 +48,6 @@ #include #include -/* - * 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;