Skip to contentSkip to conversation

reiserfs: remove duplicate include header in xattr.c

PATCH In review [email protected] 2 participants 2 messages Mar 7, 2023 – Mar 10, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 reiserfs: remove duplicate include header in xattr.c

From: Ye Xingchen <[email protected]>

linux/xattr.h is included more than once.

---
 fs/reiserfs/xattr.c | 1 -
 1 file changed, 1 deletion(-)
fs/reiserfs/xattr.c +0 -1
index 651027967159..ed1984775a4f 100644
@@ -43,7 +43,6 @@
 #include <linux/fs.h>
 #include <linux/file.h>
 #include <linux/pagemap.h>
-#include <linux/xattr.h>
 #include "xattr.h"
 #include "acl.h"
 #include <linux/uaccess.h>
Signature · 1 line
2.25.1
#1 lore raw
Quoted 6 lines · On Tue, Mar 07, 2023 at 03:17:05PM +0800, [email protected] wrote:

From: Ye Xingchen <[email protected]>

linux/xattr.h is included more than once.

---

I mean, yeah, it's included in the local xattr.h file but honestly reiserfs is marked deprecated and I just don't think that we should bother with cleaning up things that are _that_ minor. If it was the compiler complaining about some unused variable then for sure but this just seems pointless imho at this terminal stage...

Quoted 17 lines
 fs/reiserfs/xattr.c | 1 -
 1 file changed, 1 deletion(-)
fs/reiserfs/xattr.c +0 -1
index 651027967159..ed1984775a4f 100644
@@ -43,7 +43,6 @@
 #include <linux/fs.h>
 #include <linux/file.h>
 #include <linux/pagemap.h>
-#include <linux/xattr.h>
 #include "xattr.h"
 #include "acl.h"
 #include <linux/uaccess.h>
Signature · 1 line
2.25.1