From 4a6d4416377a062b3116d60ddb24c8342bc0627d Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 14 Feb 2021 20:14:42 +0100 Subject: [PATCH] src/soc/intel/{jasperlake,xeon_sp}: Remove unused MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'STRINGIFY\|memcpy\|memmove\|memset\|memcmp\|memchr\|strdup\|strconcat\|strnlen\|strlen\|strchr\|strncpy\|strcpy\|strcmp\|strncmp\|strspn\|strcspn\|strstr\|strtok_r\|strtok\|atol\|strrchr\|skip_atoi\|snprintf' -- src/)|grep '<' Change-Id: I0c2da6b0e019c53ac963ebf851243c126ae930b0 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/50695 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/soc/intel/jasperlake/bootblock/report_platform.c | 1 - src/soc/intel/xeon_sp/acpi.c | 1 - src/soc/intel/xeon_sp/cpx/soc_util.c | 1 - 3 files changed, 3 deletions(-) diff --git a/src/soc/intel/jasperlake/bootblock/report_platform.c b/src/soc/intel/jasperlake/bootblock/report_platform.c index beab7822c82d..a588b75945a1 100644 --- a/src/soc/intel/jasperlake/bootblock/report_platform.c +++ b/src/soc/intel/jasperlake/bootblock/report_platform.c @@ -12,7 +12,6 @@ #include #include #include -#include static struct { u32 cpuid; diff --git a/src/soc/intel/xeon_sp/acpi.c b/src/soc/intel/xeon_sp/acpi.c index 5e5267de8aea..9da1b145952c 100644 --- a/src/soc/intel/xeon_sp/acpi.c +++ b/src/soc/intel/xeon_sp/acpi.c @@ -4,7 +4,6 @@ #include #include #include -#include #include "chip.h" diff --git a/src/soc/intel/xeon_sp/cpx/soc_util.c b/src/soc/intel/xeon_sp/cpx/soc_util.c index 280bedcd7752..7a8403e23c44 100644 --- a/src/soc/intel/xeon_sp/cpx/soc_util.c +++ b/src/soc/intel/xeon_sp/cpx/soc_util.c @@ -9,7 +9,6 @@ #include #include #include -#include const struct SystemMemoryMapHob *get_system_memory_map(void) {