summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-05-27 11:36:52 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-05-29 10:34:08 +0000
commit08375b508222d4cdc85b01497322ffbac40f5a69 (patch)
treec7cbf2a17d9049844f378e74530061ae8897fd91 /src/arch
parentbdd03c20d5b1cd7ca17e2559a44ddcf1da06f3be (diff)
tree: Remove unused <string.h>
Change-Id: I9ed1a82fcd3fc29124ddc406592bd45dc84d4628 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/82666 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Yu-Ping Wu <yupingso@google.com> Reviewed-by: Yidi Lin <yidilin@google.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm64/smbios.c1
-rw-r--r--src/arch/riscv/include/vm.h1
-rw-r--r--src/arch/x86/smbios.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/arch/arm64/smbios.c b/src/arch/arm64/smbios.c
index 8042057e07..a8d0523795 100644
--- a/src/arch/arm64/smbios.c
+++ b/src/arch/arm64/smbios.c
@@ -6,7 +6,6 @@
#include <console/console.h>
#include <smbios.h>
#include <stdio.h>
-#include <string.h>
static void smbios_processor_id(u32 *processor_id)
{
diff --git a/src/arch/riscv/include/vm.h b/src/arch/riscv/include/vm.h
index c1894c70ca..9219f106cc 100644
--- a/src/arch/riscv/include/vm.h
+++ b/src/arch/riscv/include/vm.h
@@ -3,7 +3,6 @@
#ifndef _VM_H
#define _VM_H
-#include <string.h>
#include <stdint.h>
#include <arch/encoding.h>
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index f42de71fc7..ef2c19a7d0 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <smbios.h>
#include <console/console.h>
#include <arch/cpu.h>