Re: [PATCH 3/5] hugetlbfs: remove unneeded header file

From: Mike Kravetz
Date: Thu Jul 21 2022 - 19:19:06 EST


On 07/21/22 21:16, Miaohe Lin wrote:
> The header file signal.h is unneeded now. Remove it.
>
> Signed-off-by: Miaohe Lin <linmiaohe@xxxxxxxxxx>
> ---
> fs/hugetlbfs/inode.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/fs/hugetlbfs/inode.c b/fs/hugetlbfs/inode.c
> index a10156df5726..aa7a5b8fc724 100644
> --- a/fs/hugetlbfs/inode.c
> +++ b/fs/hugetlbfs/inode.c
> @@ -11,7 +11,6 @@
>
> #include <linux/thread_info.h>
> #include <asm/current.h>
> -#include <linux/sched/signal.h> /* remove ASAP */

I see the original '#include <linux/sched.h>' with this 'remove ASAP' comment
has been there since the initial git repository build. No idea why it was
originally added, and can find no reason for it to be there today.

Reviewed-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>

--
Mike Kravetz

> #include <linux/falloc.h>
> #include <linux/fs.h>
> #include <linux/mount.h>
> --
> 2.23.0
>