Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crash: remove header files which are included more than once

Following warning is reported, so remove these duplicated header
including:

./kernel/crash_reserve.c: linux/kexec.h is included more than once.

This is just a clean code, no logic changed.

Link: https://lkml.kernel.org/r/20240606091427.3512314-1-haowenchao22@gmail.com
Signed-off-by: Wenchao Hao <haowenchao22@gmail.com>
Acked-by: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Wenchao Hao and committed by
Andrew Morton
5eb1911a e7679a5c

-1
-1
kernel/crash_reserve.c
··· 13 13 #include <linux/memory.h> 14 14 #include <linux/cpuhotplug.h> 15 15 #include <linux/memblock.h> 16 - #include <linux/kexec.h> 17 16 #include <linux/kmemleak.h> 18 17 19 18 #include <asm/page.h>