summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-02-14 20:08:17 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2021-02-16 17:12:49 +0000
commit0c510a2ac3b14e533c4d514a62ff11383b08fbea (patch)
treea9c3a1ebd65a82b5ab5b686dcb38700a79d9df63 /src
parent72bb8aa9402cad9d3eff3f9d73e3356b2b52014a (diff)
mb/{intel,prodrive,protectli}: 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: Id2aa085a4762355d9fb1628df40f7b43fbc81fc0 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/50687 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/intel/adlrvp/romstage_fsp_params.c1
-rw-r--r--src/mainboard/prodrive/hermes/mainboard.c1
-rw-r--r--src/mainboard/protectli/vault_bsw/acpi_tables.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/mainboard/intel/adlrvp/romstage_fsp_params.c b/src/mainboard/intel/adlrvp/romstage_fsp_params.c
index 5b02e78cf8..8a179d6d5b 100644
--- a/src/mainboard/intel/adlrvp/romstage_fsp_params.c
+++ b/src/mainboard/intel/adlrvp/romstage_fsp_params.c
@@ -5,7 +5,6 @@
#include <fsp/api.h>
#include <soc/romstage.h>
#include <spd_bin.h>
-#include <string.h>
#include <soc/meminit.h>
#include <baseboard/variants.h>
#include "board_id.h"
diff --git a/src/mainboard/prodrive/hermes/mainboard.c b/src/mainboard/prodrive/hermes/mainboard.c
index d9abb7616f..a5cf887d9f 100644
--- a/src/mainboard/prodrive/hermes/mainboard.c
+++ b/src/mainboard/prodrive/hermes/mainboard.c
@@ -3,7 +3,6 @@
#include <acpi/acpigen.h>
#include <device/device.h>
#include <intelblocks/pmclib.h>
-#include <string.h>
#include <types.h>
#include "variants/baseboard/include/eeprom.h"
#include "gpio.h"
diff --git a/src/mainboard/protectli/vault_bsw/acpi_tables.c b/src/mainboard/protectli/vault_bsw/acpi_tables.c
index 6fc71fe060..87a1c40fce 100644
--- a/src/mainboard/protectli/vault_bsw/acpi_tables.c
+++ b/src/mainboard/protectli/vault_bsw/acpi_tables.c
@@ -4,7 +4,6 @@
#include <arch/ioapic.h>
#include <soc/acpi.h>
#include <soc/nvs.h>
-#include <string.h>
void mainboard_fill_gnvs(struct global_nvs *gnvs)
{