summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-14 20:13:19 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-16 17:29:19 +0000
commitaeb5268a62f4df610a01beb378c79306c182b29e (patch)
treeed57dc28faba74c75c5b1c07fbd9607c0c290e4c /src/soc/intel
parent4a3fab0cbac978fc39ffb2aaacb729bd857b28f5 (diff)
soc/intel/{alderlake,apollolake}: 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: Iacf390e98eaa3e855e1df78acdee3f738945a1d2 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50693 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/alderlake/bootblock/report_platform.c1
-rw-r--r--src/soc/intel/apollolake/acpi.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/intel/alderlake/bootblock/report_platform.c b/src/soc/intel/alderlake/bootblock/report_platform.c
index 002b306e0c..e3646e063e 100644
--- a/src/soc/intel/alderlake/bootblock/report_platform.c
+++ b/src/soc/intel/alderlake/bootblock/report_platform.c
@@ -17,7 +17,6 @@
#include <intelblocks/mp_init.h>
#include <soc/bootblock.h>
#include <soc/pci_devs.h>
-#include <string.h>
static struct {
u32 cpuid;
diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c
index 879aec4fd6..219ea95f4a 100644
--- a/src/soc/intel/apollolake/acpi.c
+++ b/src/soc/intel/apollolake/acpi.c
@@ -19,7 +19,6 @@
#include <soc/nvs.h>
#include <soc/pci_devs.h>
#include <soc/systemagent.h>
-#include <string.h>
#include "chip.h"