summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-12-21 08:14:07 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-12-26 10:45:37 +0000
commit4200a5226305f91e996e415348dcfb7607be4a59 (patch)
tree30696cd742fc51e09f11f49730c6911b185212ef
parenta8a7374e843bae6c98ad242d2870bef6043d165d (diff)
src: Remove unused include <string.h>
Change-Id: Ic6b66dd8fa387e67bb0ce609fb7e2553eeb66b3c Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37888 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
-rw-r--r--src/arch/x86/ebda.c1
-rw-r--r--src/drivers/generic/gfx/gfx.c1
-rw-r--r--src/lib/hexdump.c1
-rw-r--r--src/lib/hexstrtobin.c1
-rw-r--r--src/security/vboot/common.c1
-rw-r--r--src/soc/intel/baytrail/acpi.c1
-rw-r--r--src/soc/intel/skylake/bootblock/report_platform.c1
-rw-r--r--src/soc/qualcomm/sc7180/aop_load_reset.c1
8 files changed, 0 insertions, 8 deletions
diff --git a/src/arch/x86/ebda.c b/src/arch/x86/ebda.c
index f2727bb8fe..f92f305d6f 100644
--- a/src/arch/x86/ebda.c
+++ b/src/arch/x86/ebda.c
@@ -13,7 +13,6 @@
*/
#include <stdint.h>
-#include <string.h>
#include <arch/acpi.h>
#include <arch/ebda.h>
#include <commonlib/endian.h>
diff --git a/src/drivers/generic/gfx/gfx.c b/src/drivers/generic/gfx/gfx.c
index 76d311cc9c..b2bda4a43c 100644
--- a/src/drivers/generic/gfx/gfx.c
+++ b/src/drivers/generic/gfx/gfx.c
@@ -19,7 +19,6 @@
#include <device/pci.h>
#include <device/pci_ids.h>
#include <stdint.h>
-#include <string.h>
#include "chip.h"
diff --git a/src/lib/hexdump.c b/src/lib/hexdump.c
index 2c9e483d1d..8ecba6d512 100644
--- a/src/lib/hexdump.c
+++ b/src/lib/hexdump.c
@@ -15,7 +15,6 @@
#include <console/console.h>
#include <ctype.h>
#include <lib.h>
-#include <string.h>
void hexdump(const void *memory, size_t length)
{
diff --git a/src/lib/hexstrtobin.c b/src/lib/hexstrtobin.c
index 61290b86d3..f0d3e9daba 100644
--- a/src/lib/hexstrtobin.c
+++ b/src/lib/hexstrtobin.c
@@ -13,7 +13,6 @@
#include <ctype.h>
#include <lib.h>
-#include <string.h>
size_t hexstrtobin(const char *str, uint8_t *buf, size_t len)
{
diff --git a/src/security/vboot/common.c b/src/security/vboot/common.c
index 214f6fa208..aeb4498839 100644
--- a/src/security/vboot/common.c
+++ b/src/security/vboot/common.c
@@ -18,7 +18,6 @@
#include <console/console.h>
#include <fmap.h>
#include <stdint.h>
-#include <string.h>
#include <symbols.h>
#include <vb2_api.h>
#include <security/vboot/misc.h>
diff --git a/src/soc/intel/baytrail/acpi.c b/src/soc/intel/baytrail/acpi.c
index db6b27148b..77cc21bb91 100644
--- a/src/soc/intel/baytrail/acpi.c
+++ b/src/soc/intel/baytrail/acpi.c
@@ -22,7 +22,6 @@
#include <console/console.h>
#include <cpu/x86/smm.h>
#include <types.h>
-#include <string.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/tsc.h>
#include <cpu/intel/turbo.h>
diff --git a/src/soc/intel/skylake/bootblock/report_platform.c b/src/soc/intel/skylake/bootblock/report_platform.c
index b0b416e1a0..4a519cfdc2 100644
--- a/src/soc/intel/skylake/bootblock/report_platform.c
+++ b/src/soc/intel/skylake/bootblock/report_platform.c
@@ -27,7 +27,6 @@
#include <soc/pch.h>
#include <soc/pci_devs.h>
#include <soc/systemagent.h>
-#include <string.h>
static struct {
u32 cpuid;
diff --git a/src/soc/qualcomm/sc7180/aop_load_reset.c b/src/soc/qualcomm/sc7180/aop_load_reset.c
index 8d22d62056..5cf2311b70 100644
--- a/src/soc/qualcomm/sc7180/aop_load_reset.c
+++ b/src/soc/qualcomm/sc7180/aop_load_reset.c
@@ -13,7 +13,6 @@
* GNU General Public License for more details.
*/
-#include <string.h>
#include <arch/cache.h>
#include <cbfs.h>
#include <halt.h>