From 5214cc978cb0233623b59cc8238e47bf8f4cbb09 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 7 Jan 2022 22:25:34 +0100 Subject: [PATCH] src/soc/intel: Remove unused Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'console_time_report\|console_time_get_and_reset\|do_putchar\|vprintk\|printk\|console_log_level\|console_init\|get_log_level\|CONSOLE_ENABLE\|get_console_loglevel\|die_notify\|die_with_post_code\|die\|arch_post_code\|mainboard_post\|post_code\|RAM_SPEW\|RAM_DEBUG\|BIOS_EMERG\|BIOS_ALERT\|BIOS_CRIT\|BIOS_ERR\|BIOS_WARNING\|BIOS_NOTICE\|BIOS_INFO\|BIOS_DEBUG\|BIOS_SPEW\|BIOS_NEVER' -- src/) |grep "<" Change-Id: I2ca3a7487cbe75f9bec458f4166378a07b833bb5 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/60925 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/soc/intel/common/smbios.c | 1 - src/soc/intel/elkhartlake/cpu.c | 1 - src/soc/intel/icelake/cpu.c | 1 - src/soc/intel/jasperlake/cpu.c | 1 - src/soc/intel/skylake/romstage/fsp_params.c | 1 - src/soc/intel/tigerlake/cpu.c | 1 - 6 files changed, 6 deletions(-) diff --git a/src/soc/intel/common/smbios.c b/src/soc/intel/common/smbios.c index 4aca022d6f..bd6de9f7d1 100644 --- a/src/soc/intel/common/smbios.c +++ b/src/soc/intel/common/smbios.c @@ -4,7 +4,6 @@ #include "smbios.h" #include #include -#include #include #include diff --git a/src/soc/intel/elkhartlake/cpu.c b/src/soc/intel/elkhartlake/cpu.c index 0fcc61d936..d480604298 100644 --- a/src/soc/intel/elkhartlake/cpu.c +++ b/src/soc/intel/elkhartlake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include diff --git a/src/soc/intel/icelake/cpu.c b/src/soc/intel/icelake/cpu.c index 203cddd69f..ab32c0d502 100644 --- a/src/soc/intel/icelake/cpu.c +++ b/src/soc/intel/icelake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include diff --git a/src/soc/intel/jasperlake/cpu.c b/src/soc/intel/jasperlake/cpu.c index 9959bd5c63..b063c28d8a 100644 --- a/src/soc/intel/jasperlake/cpu.c +++ b/src/soc/intel/jasperlake/cpu.c @@ -1,6 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ -#include #include #include #include diff --git a/src/soc/intel/skylake/romstage/fsp_params.c b/src/soc/intel/skylake/romstage/fsp_params.c index 7af0a6eff2..d7e1157376 100644 --- a/src/soc/intel/skylake/romstage/fsp_params.c +++ b/src/soc/intel/skylake/romstage/fsp_params.c @@ -1,7 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ #include -#include #include #include #include diff --git a/src/soc/intel/tigerlake/cpu.c b/src/soc/intel/tigerlake/cpu.c index ce020ee151..a9aa8ffc53 100644 --- a/src/soc/intel/tigerlake/cpu.c +++ b/src/soc/intel/tigerlake/cpu.c @@ -6,7 +6,6 @@ * Chapter number: 15 */ -#include #include #include #include