Skip to content

Commit 3383b36

Browse files
xiongzhongjiangtorvalds
authored andcommitted
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>
1 parent 89c83fb commit 3383b36

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/kexec_file.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
#include <linux/elf.h>
2626
#include <linux/elfcore.h>
2727
#include <linux/kernel.h>
28-
#include <linux/kexec.h>
29-
#include <linux/slab.h>
3028
#include <linux/syscalls.h>
3129
#include <linux/vmalloc.h>
3230
#include "kexec_internal.h"

0 commit comments

Comments
 (0)