summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
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/amd
parentf0d1c9a42325300fb3da599a14131910a6b7139b (diff)
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/amd')
-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
3 files changed, 0 insertions, 4 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>