diff mbox series

[-next] cifs: Remove duplicated include in cifssmb.c

Message ID 20220526232606.64174-1-yang.lee@linux.alibaba.com (mailing list archive)
State New, archived
Headers show
Series [-next] cifs: Remove duplicated include in cifssmb.c | expand

Commit Message

Yang Li May 26, 2022, 11:26 p.m. UTC
Fix following includecheck warning:
./fs/cifs/cifssmb.c: cifsfs.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/cifs/cifssmb.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Steve French May 28, 2022, 1:32 a.m. UTC | #1
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?

On Thu, May 26, 2022 at 11:27 PM Yang Li <yang.lee@linux.alibaba.com> wrote:
>
> Fix following includecheck warning:
> ./fs/cifs/cifssmb.c: cifsfs.h is included more than once.
>
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  fs/cifs/cifssmb.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
> index e3457356ec11..193009f1421b 100644
> --- a/fs/cifs/cifssmb.c
> +++ b/fs/cifs/cifssmb.c
> @@ -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
>
diff mbox series

Patch

diff --git a/fs/cifs/cifssmb.c b/fs/cifs/cifssmb.c
index e3457356ec11..193009f1421b 100644
--- a/fs/cifs/cifssmb.c
+++ b/fs/cifs/cifssmb.c
@@ -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"