From ffc4002863b4436457bef4ee90da2ea4aa4f9542 Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 31 Dec 2021 18:43:17 +0100 Subject: [PATCH] src/soc: Remove unused Found using: diff <(git grep -l '#include ' -- src/) <(git grep -l 'memalign(\|malloc(\|calloc(\|free(' -- src/) Change-Id: I08e1a680de9bfcc7d74e88a15abe9eef327b4961 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/60617 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Zhang --- src/soc/amd/common/block/acpi/ivrs.c | 1 - src/soc/amd/picasso/agesa_acpi.c | 1 - src/soc/intel/common/block/tcss/tcss.c | 1 - src/soc/intel/xeon_sp/cpx/soc_util.c | 1 - 4 files changed, 4 deletions(-) diff --git a/src/soc/amd/common/block/acpi/ivrs.c b/src/soc/amd/common/block/acpi/ivrs.c index 7b2db3a338..c5218ea6ad 100644 --- a/src/soc/amd/common/block/acpi/ivrs.c +++ b/src/soc/amd/common/block/acpi/ivrs.c @@ -15,7 +15,6 @@ #include #include #include -#include #define MAX_DEV_ID 0xFFFF diff --git a/src/soc/amd/picasso/agesa_acpi.c b/src/soc/amd/picasso/agesa_acpi.c index f9614a2705..db95b92f5a 100644 --- a/src/soc/amd/picasso/agesa_acpi.c +++ b/src/soc/amd/picasso/agesa_acpi.c @@ -18,7 +18,6 @@ #include #include #include -#include #include static unsigned long gen_crat_hsa_entry(struct acpi_crat_header *crat, unsigned long current) diff --git a/src/soc/intel/common/block/tcss/tcss.c b/src/soc/intel/common/block/tcss/tcss.c index 03f630cf52..3e11865848 100644 --- a/src/soc/intel/common/block/tcss/tcss.c +++ b/src/soc/intel/common/block/tcss/tcss.c @@ -11,7 +11,6 @@ #include #include #include -#include #include #define BIAS_CTRL_VW_INDEX_SHIFT 16 diff --git a/src/soc/intel/xeon_sp/cpx/soc_util.c b/src/soc/intel/xeon_sp/cpx/soc_util.c index 7a8403e23c..ed239766b4 100644 --- a/src/soc/intel/xeon_sp/cpx/soc_util.c +++ b/src/soc/intel/xeon_sp/cpx/soc_util.c @@ -8,7 +8,6 @@ #include #include #include -#include const struct SystemMemoryMapHob *get_system_memory_map(void) {