diff options
author | zhong jiang <zhongjiang@huawei.com> | 2018-11-02 23:48:35 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-03 18:09:37 +0100 |
commit | 3383b36040522505546cb112f0a543a5998edfb6 (patch) | |
tree | b81e008392d3e2b6acb904e5274f10c809b7e0ed /kernel | |
parent | mm, thp: consolidate THP gfp handling into alloc_hugepage_direct_gfpmask (diff) | |
download | linux-3383b36040522505546cb112f0a543a5998edfb6.tar.xz linux-3383b36040522505546cb112f0a543a5998edfb6.zip |
kernel/kexec_file.c: remove some duplicated includes
We include kexec.h and slab.h twice in kexec_file.c. It's unnecessary.
hence just remove them.
Link: http://lkml.kernel.org/r/1537498098-19171-1-git-send-email-zhongjiang@huawei.com
Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Reviewed-by: Bhupesh Sharma <bhsharma@redhat.com>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Acked-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/kexec_file.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c index c6a3b6851372..35cf0ad29718 100644 --- a/kernel/kexec_file.c +++ b/kernel/kexec_file.c @@ -25,8 +25,6 @@ #include <linux/elf.h> #include <linux/elfcore.h> #include <linux/kernel.h> -#include <linux/kexec.h> -#include <linux/slab.h> #include <linux/syscalls.h> #include <linux/vmalloc.h> #include "kexec_internal.h" |