[PATCH] cifs: SMB1 split: Remove duplicate include of cifs_debug.h

Steve French smfrench at gmail.com
Wed Feb 11 19:39:19 UTC 2026


merged into cifs-2.6.git for-next

On Tue, Feb 10, 2026 at 10:47 PM Chen Ni <nichen at iscas.ac.cn> wrote:

> Remove duplicate inclusion of cifs_debug.h in smb1transport.c to
> clean up redundant code.
>
> Signed-off-by: Chen Ni <nichen at iscas.ac.cn>
> ---
>  fs/smb/client/smb1transport.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/fs/smb/client/smb1transport.c b/fs/smb/client/smb1transport.c
> index 0b8b852cfc0d..93731b00ca5d 100644
> --- a/fs/smb/client/smb1transport.c
> +++ b/fs/smb/client/smb1transport.c
> @@ -29,7 +29,6 @@
>  #include "cifs_debug.h"
>  #include "smbdirect.h"
>  #include "compress.h"
> -#include "cifs_debug.h"
>
>  /* Max number of iovectors we can use off the stack when sending
> requests. */
>  #define CIFS_MAX_IOV_SIZE 8
> --
> 2.25.1
>
>
>

-- 
Thanks,

Steve


More information about the samba-technical mailing list