diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-12-31 18:43:17 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-01-10 23:30:56 +0000 |
commit | ffc4002863b4436457bef4ee90da2ea4aa4f9542 (patch) | |
tree | 70fc4ba48ae5f0f2be2221ebd1689cd767e44512 /src/soc | |
parent | a6608bc99085290e38365b0a03c591b566427589 (diff) |
src/soc: Remove unused <stdlib.h>
Found using:
diff <(git grep -l '#include <stdlib.h>' -- src/) <(git grep -l 'memalign(\|malloc(\|calloc(\|free(' -- src/)
Change-Id: I08e1a680de9bfcc7d74e88a15abe9eef327b4961
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/60617
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Diffstat (limited to 'src/soc')
-rw-r--r-- | src/soc/amd/common/block/acpi/ivrs.c | 1 | ||||
-rw-r--r-- | src/soc/amd/picasso/agesa_acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/common/block/tcss/tcss.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/soc_util.c | 1 |
4 files changed, 0 insertions, 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 <soc/acpi.h> #include <soc/data_fabric.h> #include <soc/pci_devs.h> -#include <stdlib.h> #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 <amdblocks/ioapic.h> #include <soc/data_fabric.h> #include <soc/pci_devs.h> -#include <stdlib.h> #include <arch/mmio.h> 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 <soc/pci_devs.h> #include <soc/pcr_ids.h> #include <soc/tcss.h> -#include <stdlib.h> #include <drivers/intel/pmc_mux/conn/chip.h> #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 <soc/pci_devs.h> #include <soc/soc_util.h> #include <soc/util.h> -#include <stdlib.h> const struct SystemMemoryMapHob *get_system_memory_map(void) { |