* [PATCH] ubifs: xattr: remove unused anonymous enum
@ 2024-03-24 0:41 pascal.eberhard
2024-03-25 1:44 ` Zhihao Cheng
0 siblings, 1 reply; 2+ messages in thread
From: pascal.eberhard @ 2024-03-24 0:41 UTC (permalink / raw
To: Richard Weinberger; +Cc: Zhihao Cheng, linux-mtd, linux-kernel, Pascal Eberhard
From: Pascal Eberhard <pascal.eberhard@se.com>
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>
---
fs/ubifs/xattr.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c
index 0847db521984..f0969519ad05 100644
--- a/fs/ubifs/xattr.c
+++ b/fs/ubifs/xattr.c
@@ -48,19 +48,6 @@
#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;
--
2.40.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ubifs: xattr: remove unused anonymous enum
2024-03-24 0:41 [PATCH] ubifs: xattr: remove unused anonymous enum pascal.eberhard
@ 2024-03-25 1:44 ` Zhihao Cheng
0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2024-03-25 1:44 UTC (permalink / raw
To: pascal.eberhard, Richard Weinberger; +Cc: linux-mtd, linux-kernel
在 2024/3/24 8:41, pascal.eberhard@verified.se.com 写道:
> From: Pascal Eberhard <pascal.eberhard@se.com>
>
> 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>
> ---
> fs/ubifs/xattr.c | 13 -------------
> 1 file changed, 13 deletions(-)
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
>
> diff --git a/fs/ubifs/xattr.c b/fs/ubifs/xattr.c
> index 0847db521984..f0969519ad05 100644
> --- a/fs/ubifs/xattr.c
> +++ b/fs/ubifs/xattr.c
> @@ -48,19 +48,6 @@
> #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;
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-25 1:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-24 0:41 [PATCH] ubifs: xattr: remove unused anonymous enum pascal.eberhard
2024-03-25 1:44 ` Zhihao Cheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).