summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorzhong jiang <zhongjiang@huawei.com>2018-10-31 10:13:56 +1100
committerStephen Rothwell <sfr@canb.auug.org.au>2018-11-01 07:41:44 +1100
commit95dfa368554fd0f60d3e5a8076ccdee2ba2620d9 (patch)
tree778f9f11be35bf2b96c67b597422b386b2971be7 /kernel
parenta73381d701ae96c87a718cacf94b1102c04d8900 (diff)
downloadlinux-next-95dfa368554fd0f60d3e5a8076ccdee2ba2620d9.tar.gz
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> Acked-by: Baoquan He <bhe@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/kexec_file.c2
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"