diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-02-14 20:14:42 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-16 17:32:04 +0000 |
commit | 4a6d4416377a062b3116d60ddb24c8342bc0627d (patch) | |
tree | 1368591cf49c05ee6554f4069d7920e051e89da9 | |
parent | 2b04c0c1bdfcc3f18a8137793de94e7403008974 (diff) |
src/soc/intel/{jasperlake,xeon_sp}: Remove unused <string.h>
Found using:
diff <(git grep -l '#include <string.h>' -- 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 <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50695
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
-rw-r--r-- | src/soc/intel/jasperlake/bootblock/report_platform.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/acpi.c | 1 | ||||
-rw-r--r-- | src/soc/intel/xeon_sp/cpx/soc_util.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/intel/jasperlake/bootblock/report_platform.c b/src/soc/intel/jasperlake/bootblock/report_platform.c index beab7822c8..a588b75945 100644 --- a/src/soc/intel/jasperlake/bootblock/report_platform.c +++ b/src/soc/intel/jasperlake/bootblock/report_platform.c @@ -12,7 +12,6 @@ #include <soc/bootblock.h> #include <soc/pch.h> #include <soc/pci_devs.h> -#include <string.h> static struct { u32 cpuid; diff --git a/src/soc/intel/xeon_sp/acpi.c b/src/soc/intel/xeon_sp/acpi.c index 5e5267de8a..9da1b14595 100644 --- a/src/soc/intel/xeon_sp/acpi.c +++ b/src/soc/intel/xeon_sp/acpi.c @@ -4,7 +4,6 @@ #include <intelblocks/acpi.h> #include <soc/pci_devs.h> #include <soc/util.h> -#include <string.h> #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 280bedcd77..7a8403e23c 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 <soc/soc_util.h> #include <soc/util.h> #include <stdlib.h> -#include <string.h> const struct SystemMemoryMapHob *get_system_memory_map(void) { |