Skip to contentSkip to conversation

cifs: Remove duplicated include in cifssmb.c

PATCH In review Yang Li 2 participants 2 messages May 26, 2022 – May 28, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 cifs: Remove duplicated include in cifssmb.c

Fix following includecheck warning:
./fs/cifs/cifssmb.c: cifsfs.h is included more than once.

---
 fs/cifs/cifssmb.c | 1 -
 1 file changed, 1 deletion(-)
fs/cifs/cifssmb.c +0 -1
index e3457356ec11..193009f1421b 100644
@@ -28,7 +28,6 @@
 #include "cifsglob.h"
 #include "cifsacl.h"
 #include "cifsproto.h"
-#include "cifsfs.h"
 #include "cifs_unicode.h"
 #include "cifs_debug.h"
 #include "smb2proto.h"
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw

I don't see this line (ie the include cifsfs.h) in fs/cifs/cifssmb.c anymore could you do a "git blame" and find where that line was added in for-next?

Quoted 25 lines · Yang Li

Fix following includecheck warning:
./fs/cifs/cifssmb.c: cifsfs.h is included more than once.

---
 fs/cifs/cifssmb.c | 1 -
 1 file changed, 1 deletion(-)
fs/cifs/cifssmb.c +0 -2
index e3457356ec11..193009f1421b 100644
@@ -28,7 +28,6 @@
 #include "cifsglob.h"
 #include "cifsacl.h"
 #include "cifsproto.h"
-#include "cifsfs.h"
 #include "cifs_unicode.h"
 #include "cifs_debug.h"
 #include "smb2proto.h"
--

2.20.1.7.g153144c

Signature · 3 lines
Thanks,

Steve