summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-05-11 19:59:14 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-05-18 07:41:24 +0000
commitb74f45e9c4ae7bb504986298df8da89b6f017e65 (patch)
tree04effedb79a947c3bc862181ce3162268e429ed0 /src/mainboard/google
parentf769ee3e1b060ff94f8f087a810fb2c83e4e99fe (diff)
src: Remove unused 'include <string.h>'
Unused includes found using following commande: diff <(git grep -l '#include <string.h>' -- src/) <(git grep -l 'memcpy\|memmove\|memset\|memcmp\|memchr\|strdup\|strconcat\|strnlen\|strlen\|strchr\|strncpy\|strcpy\|strcmp\|strncmp\|strspn\|strcspn\|atol\|strrchr\|skip_atoi\|STRINGIFY' -- src/) |grep -v vendorcode |grep '<' Change-Id: Ibaeec213b6019dfa9c45e3424b38af0e094d0c51 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41242 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Wim Vervoorn <wvervoorn@eltan.com>
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/dedede/board_info.c1
-rw-r--r--src/mainboard/google/kukui/panel_anx7625.c1
-rw-r--r--src/mainboard/google/octopus/mainboard.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/src/mainboard/google/dedede/board_info.c b/src/mainboard/google/dedede/board_info.c
index 38d722c16c..3289cb4ecf 100644
--- a/src/mainboard/google/dedede/board_info.c
+++ b/src/mainboard/google/dedede/board_info.c
@@ -4,7 +4,6 @@
#include <console/console.h>
#include <ec/google/chromeec/ec.h>
#include <smbios.h>
-#include <string.h>
int board_info_get_fw_config(uint32_t *fw_config)
{
diff --git a/src/mainboard/google/kukui/panel_anx7625.c b/src/mainboard/google/kukui/panel_anx7625.c
index 5685661445..cae9edc041 100644
--- a/src/mainboard/google/kukui/panel_anx7625.c
+++ b/src/mainboard/google/kukui/panel_anx7625.c
@@ -6,7 +6,6 @@
#include <edid.h>
#include <gpio.h>
#include <soc/i2c.h>
-#include <string.h>
#include "panel.h"
diff --git a/src/mainboard/google/octopus/mainboard.c b/src/mainboard/google/octopus/mainboard.c
index b7f45f6d40..e6dbd0330b 100644
--- a/src/mainboard/google/octopus/mainboard.c
+++ b/src/mainboard/google/octopus/mainboard.c
@@ -18,7 +18,6 @@
#include <soc/nhlt.h>
#include <soc/pci_devs.h>
#include <stdint.h>
-#include <string.h>
#include <vendorcode/google/chromeos/chromeos.h>
#include <variant/ec.h>
#include <variant/gpio.h>