[PATCH] crash_dump: Remove the unused include statements

Bhupesh Sharma bhsharma at redhat.com
Thu Sep 10 15:35:37 EDT 2020


Hi Tian,

On Thu, Sep 10, 2020 at 2:22 PM Tian Tao <tiantao6 at hisilicon.com> wrote:
>
> linux/pgtable.h is included more than once, Remove the one that isn't
> necessary.
>
> Signed-off-by: Tian Tao <tiantao6 at hisilicon.com>
> ---
>  include/linux/crash_dump.h | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/include/linux/crash_dump.h b/include/linux/crash_dump.h
> index a5192b7..6bd8a33 100644
> --- a/include/linux/crash_dump.h
> +++ b/include/linux/crash_dump.h
> @@ -8,8 +8,6 @@
>  #include <linux/pgtable.h>
>  #include <uapi/linux/vmcore.h>
>
> -#include <linux/pgtable.h> /* for pgprot_t */
> -
>  #ifdef CONFIG_CRASH_DUMP
>  #define ELFCORE_ADDR_MAX       (-1ULL)
>  #define ELFCORE_ADDR_ERR       (-2ULL)
> --

LGTM, so:
Reviewed-by: Bhupesh Sharma <bhsharma at redhat.com>

Thanks.




More information about the kexec mailing list