RE: [PATCH] fs/ntfs3: Remove unused including <linux/version.h>
From: Konstantin Komarov
Date: Fri Aug 27 2021 - 12:31:11 EST
> From: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> Sent: Thursday, August 19, 2021 11:24 AM
> To: Konstantin Komarov <almaz.alexandrovich@xxxxxxxxxxxxxxxxxxxx>
> Cc: nathan@xxxxxxxxxx; ndesaulniers@xxxxxxxxxx; ntfs3@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; clang-built-
> linux@xxxxxxxxxxxxxxxx; Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> Subject: [PATCH] fs/ntfs3: Remove unused including <linux/version.h>
>
> Eliminate the follow versioncheck warning:
>
> ./fs/ntfs3/inode.c: 16 linux/version.h not needed.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block")
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> ---
> fs/ntfs3/inode.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/ntfs3/inode.c b/fs/ntfs3/inode.c
> index bf51e29..bb01f1b 100644
> --- a/fs/ntfs3/inode.c
> +++ b/fs/ntfs3/inode.c
> @@ -13,7 +13,6 @@
> #include <linux/namei.h>
> #include <linux/nls.h>
> #include <linux/uio.h>
> -#include <linux/version.h>
> #include <linux/writeback.h>
>
> #include "debug.h"
> --
> 1.8.3.1
Hi Jiapeng! Applied, thanks.
Best regards.