From: Fabio Estevam Date: Fri, 13 Jan 2012 16:06:59 +0000 (+0100) Subject: ARM: 7277/1: setup.c: Fix build warning by removing unneeded header file X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06e9905152cd124c53f571296e9904ea89c1a39a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ARM: 7277/1: setup.c: Fix build warning by removing unneeded header file Fix the following build warning: CC arch/arm/kernel/setup.o In file included from arch/arm/kernel/setup.c:39: arch/arm/include/asm/elf.h:102:1: warning: "vmcore_elf64_check_arch" redefined In file included from arch/arm/kernel/setup.c:24: include/linux/crash_dump.h:30:1: warning: this is the location of the previous definition Since commit 93a72052 (crash_dump: export is_kdump_kernel to modules, consolidate elfcorehdr_addr, setup_elfcorehdr and saved_max_pfn) the inclusion of is no longer needed. Remove the inclusion of and the build warning is fixed. Signed-off-by: Fabio Estevam Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/setup.c b/arch/arm/kernel/setup.c index 95653d03db7e..ab70c9124538 100644 --- a/arch/arm/kernel/setup.c +++ b/arch/arm/kernel/setup.c @@ -21,7 +21,6 @@ #include #include #include -#include #include #include #include