summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-07-10 09:48:07 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-07-14 16:09:44 +0000
commit5a8e072020a4cfd77ffd03c9b58c3751370a9978 (patch)
tree363c7831570ce50e21e008bfd9a5155af35792ac /src/mainboard
parentf0d1c9a42325300fb3da599a14131910a6b7139b (diff)
downloadcoreboot-5a8e072020a4cfd77ffd03c9b58c3751370a9978.tar.xz
src: Remove unused 'include <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\|strtok_r\|strtok\|atol\|strrchr\|skip_atoi\|snprintf' -- src/) |grep -v vendorcode |grep '<' Change-Id: I12802d0a6254b2fa39d59f485008bb2012f7b32d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41913 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/dell/optiplex_9010/sch5545_ec.c1
-rw-r--r--src/mainboard/emulation/qemu-q35/acpi_tables.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/dell/optiplex_9010/sch5545_ec.c b/src/mainboard/dell/optiplex_9010/sch5545_ec.c
index 401345254d..2719460a9e 100644
--- a/src/mainboard/dell/optiplex_9010/sch5545_ec.c
+++ b/src/mainboard/dell/optiplex_9010/sch5545_ec.c
@@ -2,7 +2,6 @@
#include <cbfs.h>
#include <cf9_reset.h>
-#include <string.h>
#include <option.h>
#include <arch/io.h>
#include <cpu/x86/msr.h>
diff --git a/src/mainboard/emulation/qemu-q35/acpi_tables.c b/src/mainboard/emulation/qemu-q35/acpi_tables.c
index 51baae5135..104e5d0883 100644
--- a/src/mainboard/emulation/qemu-q35/acpi_tables.c
+++ b/src/mainboard/emulation/qemu-q35/acpi_tables.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <types.h>
-#include <string.h>
#include <acpi/acpi.h>
#include <acpi/acpi_gnvs.h>
#include <arch/ioapic.h>