summaryrefslogtreecommitdiff
path: root/src/southbridge
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/southbridge
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/southbridge')
-rw-r--r--src/southbridge/amd/agesa/hudson/fadt.c1
-rw-r--r--src/southbridge/amd/cimx/sb800/fadt.c2
-rw-r--r--src/southbridge/amd/pi/hudson/fadt.c1
-rw-r--r--src/southbridge/intel/i82371eb/fadt.c1
-rw-r--r--src/southbridge/intel/i82801dx/fadt.c1
-rw-r--r--src/southbridge/intel/i82801gx/fadt.c1
-rw-r--r--src/southbridge/intel/i82801ix/fadt.c1
-rw-r--r--src/southbridge/intel/i82801jx/fadt.c1
8 files changed, 0 insertions, 9 deletions
diff --git a/src/southbridge/amd/agesa/hudson/fadt.c b/src/southbridge/amd/agesa/hudson/fadt.c
index bb86d5f174..e3b16477a4 100644
--- a/src/southbridge/amd/agesa/hudson/fadt.c
+++ b/src/southbridge/amd/agesa/hudson/fadt.c
@@ -4,7 +4,6 @@
* ACPI - create the Fixed ACPI Description Tables (FADT)
*/
-#include <string.h>
#include <console/console.h>
#include <acpi/acpi.h>
#include <device/device.h>
diff --git a/src/southbridge/amd/cimx/sb800/fadt.c b/src/southbridge/amd/cimx/sb800/fadt.c
index 4bca1364be..379205ab9d 100644
--- a/src/southbridge/amd/cimx/sb800/fadt.c
+++ b/src/southbridge/amd/cimx/sb800/fadt.c
@@ -5,8 +5,6 @@
* ACPI - create the Fixed ACPI Description Tables (FADT)
*/
-
-#include <string.h>
#include <console/console.h>
#include <acpi/acpi.h>
#include <arch/io.h>
diff --git a/src/southbridge/amd/pi/hudson/fadt.c b/src/southbridge/amd/pi/hudson/fadt.c
index a243252c21..a8bc9c2cdc 100644
--- a/src/southbridge/amd/pi/hudson/fadt.c
+++ b/src/southbridge/amd/pi/hudson/fadt.c
@@ -4,7 +4,6 @@
* ACPI - create the Fixed ACPI Description Tables (FADT)
*/
-#include <string.h>
#include <console/console.h>
#include <acpi/acpi.h>
#include <device/device.h>
diff --git a/src/southbridge/intel/i82371eb/fadt.c b/src/southbridge/intel/i82371eb/fadt.c
index 84745a4a7a..5086992ab0 100644
--- a/src/southbridge/intel/i82371eb/fadt.c
+++ b/src/southbridge/intel/i82371eb/fadt.c
@@ -4,7 +4,6 @@
* Based on src/southbridge/via/vt8237r/vt8237_fadt.c
*/
-#include <string.h>
#include <acpi/acpi.h>
#include <device/device.h>
#include <device/pci.h>
diff --git a/src/southbridge/intel/i82801dx/fadt.c b/src/southbridge/intel/i82801dx/fadt.c
index 2da2175f01..4d1a615aca 100644
--- a/src/southbridge/intel/i82801dx/fadt.c
+++ b/src/southbridge/intel/i82801dx/fadt.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <device/pci_ops.h>
#include <acpi/acpi.h>
#include <version.h>
diff --git a/src/southbridge/intel/i82801gx/fadt.c b/src/southbridge/intel/i82801gx/fadt.c
index dca4bb48c3..3ab491127b 100644
--- a/src/southbridge/intel/i82801gx/fadt.c
+++ b/src/southbridge/intel/i82801gx/fadt.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <device/pci_ops.h>
#include <acpi/acpi.h>
#include <cpu/x86/smm.h>
diff --git a/src/southbridge/intel/i82801ix/fadt.c b/src/southbridge/intel/i82801ix/fadt.c
index 7a3840810c..3b657ad126 100644
--- a/src/southbridge/intel/i82801ix/fadt.c
+++ b/src/southbridge/intel/i82801ix/fadt.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <device/pci_ops.h>
#include <acpi/acpi.h>
#include <cpu/x86/smm.h>
diff --git a/src/southbridge/intel/i82801jx/fadt.c b/src/southbridge/intel/i82801jx/fadt.c
index c0a9d53b04..c00aa74b9f 100644
--- a/src/southbridge/intel/i82801jx/fadt.c
+++ b/src/southbridge/intel/i82801jx/fadt.c
@@ -1,6 +1,5 @@
/* SPDX-License-Identifier: GPL-2.0-only */
-#include <string.h>
#include <device/pci_ops.h>
#include <acpi/acpi.h>
#include <cpu/x86/smm.h>