summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-04-11 14:28:19 +0200
committerElyes Haouas <ehaouas@noos.fr>2024-04-12 04:25:07 +0000
commit4bbec0c6916ba272410c0f4541e32c2f91a7affc (patch)
treead97efb03124cc93b0058ca9b688da272a678c8c
parentdc3a6f8593c5a204e48e7c858b9a3ed83ac40909 (diff)
tree: Drop duplicated <stdarg.h> and <stdio.h>
<string.h> is supposed to provide <stdarg.h> and <stdio.h> Change-Id: I021ba535ba5ec683021c4dfc41ac18d9cebbcfd2 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81853 Reviewed-by: Eric Lai <ericllai@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/console/vsprintf.c1
-rw-r--r--src/console/vtxprintf.c1
-rw-r--r--src/cpu/x86/smm/smm_module_loader.c1
-rw-r--r--src/device/pci_rom.c1
-rw-r--r--src/drivers/ocp/dmi/smbios.c1
-rw-r--r--src/mainboard/ocp/deltalake/ramstage.c1
-rw-r--r--tests/lib/string-test.c1
7 files changed, 0 insertions, 7 deletions
diff --git a/src/console/vsprintf.c b/src/console/vsprintf.c
index 68926397a6..06b9e494a4 100644
--- a/src/console/vsprintf.c
+++ b/src/console/vsprintf.c
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#include <console/vtxprintf.h>
-#include <stdarg.h>
#include <string.h>
struct vsnprintf_context {
diff --git a/src/console/vtxprintf.c b/src/console/vtxprintf.c
index cfba6db420..fba76bcb71 100644
--- a/src/console/vtxprintf.c
+++ b/src/console/vtxprintf.c
@@ -6,7 +6,6 @@
#include <console/vtxprintf.h>
#include <ctype.h>
-#include <stdarg.h>
#include <string.h>
#include <types.h>
diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c
index 646f3bb551..02debfc0cf 100644
--- a/src/cpu/x86/smm/smm_module_loader.c
+++ b/src/cpu/x86/smm/smm_module_loader.c
@@ -11,7 +11,6 @@
#include <device/mmio.h>
#include <rmodule.h>
#include <smmstore.h>
-#include <stdio.h>
#include <string.h>
#include <types.h>
diff --git a/src/device/pci_rom.c b/src/device/pci_rom.c
index 1e212ab216..aca55d6774 100644
--- a/src/device/pci_rom.c
+++ b/src/device/pci_rom.c
@@ -6,7 +6,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <device/pci_ops.h>
-#include <stdio.h>
#include <string.h>
#include <cbfs.h>
#include <cbmem.h>
diff --git a/src/drivers/ocp/dmi/smbios.c b/src/drivers/ocp/dmi/smbios.c
index 0ac3334751..ead9b4d134 100644
--- a/src/drivers/ocp/dmi/smbios.c
+++ b/src/drivers/ocp/dmi/smbios.c
@@ -6,7 +6,6 @@
#include <delay.h>
#include <cpu/x86/mp.h>
#include <timer.h>
-#include <stdio.h>
#include <string.h>
#include <soc/soc_util.h>
#include <soc/util.h>
diff --git a/src/mainboard/ocp/deltalake/ramstage.c b/src/mainboard/ocp/deltalake/ramstage.c
index 55a10ad541..6dd7c109b3 100644
--- a/src/mainboard/ocp/deltalake/ramstage.c
+++ b/src/mainboard/ocp/deltalake/ramstage.c
@@ -20,7 +20,6 @@
#include <soc/smmrelocate.h>
#include <soc/soc_util.h>
#include <soc/util.h>
-#include <stdio.h>
#include <string.h>
#include <types.h>
diff --git a/tests/lib/string-test.c b/tests/lib/string-test.c
index 0f21747e11..621a74ceff 100644
--- a/tests/lib/string-test.c
+++ b/tests/lib/string-test.c
@@ -5,7 +5,6 @@
#include <stdint.h>
#include <stddef.h>
#include <tests/test.h>
-#include <stdio.h>
/*
* Important note: In every particular test, don't use any string-related