diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-02-14 20:06:24 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-16 17:23:38 +0000 |
commit | 7e821a1526725223f36723a7096efa4813661341 (patch) | |
tree | c3bf38660b515567737444f66e299b7c92157e7e /src | |
parent | e5446cafd660477a2a7978f6e0dc5e67a35efc9f (diff) |
mb/google: Remove unused <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\|strstr\|strtok_r\|strtok\|atol\|strrchr\|skip_atoi\|snprintf' -- src/)|grep '<'
Change-Id: I3ba39077014c50c2dfb9fddf78813f1058c45cc1
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50685
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/dedede/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/hatch/romstage_spd_cbfs.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/kukui/boardid.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/zork/variants/dirinboz/variant.c | 1 | ||||
-rw-r--r-- | src/mainboard/google/zork/variants/gumboz/variant.c | 1 |
5 files changed, 0 insertions, 5 deletions
diff --git a/src/mainboard/google/dedede/romstage.c b/src/mainboard/google/dedede/romstage.c index f6a94ec137..34810b46d4 100644 --- a/src/mainboard/google/dedede/romstage.c +++ b/src/mainboard/google/dedede/romstage.c @@ -6,7 +6,6 @@ #include <memory_info.h> #include <soc/meminit.h> #include <soc/romstage.h> -#include <string.h> #include <variant/gpio.h> void mainboard_memory_init_params(FSPM_UPD *memupd) diff --git a/src/mainboard/google/hatch/romstage_spd_cbfs.c b/src/mainboard/google/hatch/romstage_spd_cbfs.c index 8a12d706f8..eb5153c133 100644 --- a/src/mainboard/google/hatch/romstage_spd_cbfs.c +++ b/src/mainboard/google/hatch/romstage_spd_cbfs.c @@ -6,7 +6,6 @@ #include <memory_info.h> #include <soc/cnl_memcfg_init.h> #include <soc/romstage.h> -#include <string.h> #include <variant/gpio.h> /* diff --git a/src/mainboard/google/kukui/boardid.c b/src/mainboard/google/kukui/boardid.c index 04ae7db8f9..117475680f 100644 --- a/src/mainboard/google/kukui/boardid.c +++ b/src/mainboard/google/kukui/boardid.c @@ -16,7 +16,6 @@ #include <soc/auxadc_common.h> #include <soc/i2c.h> #include <soc/pmic_wrap_common.h> -#include <string.h> /* For CBI un-provisioned/corrupted Flapjack board. */ #define FLAPJACK_UNDEF_SKU_ID 0 diff --git a/src/mainboard/google/zork/variants/dirinboz/variant.c b/src/mainboard/google/zork/variants/dirinboz/variant.c index 4dd371a871..ebe2292be1 100644 --- a/src/mainboard/google/zork/variants/dirinboz/variant.c +++ b/src/mainboard/google/zork/variants/dirinboz/variant.c @@ -6,7 +6,6 @@ #include <soc/pci_devs.h> #include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/i2c_tunnel/chip.h> -#include <string.h> /* FIXME: Comments seem to suggest these are not entirely correct. */ static const fsp_ddi_descriptor non_hdmi_ddi_descriptors[] = { diff --git a/src/mainboard/google/zork/variants/gumboz/variant.c b/src/mainboard/google/zork/variants/gumboz/variant.c index 4dd371a871..ebe2292be1 100644 --- a/src/mainboard/google/zork/variants/gumboz/variant.c +++ b/src/mainboard/google/zork/variants/gumboz/variant.c @@ -6,7 +6,6 @@ #include <soc/pci_devs.h> #include <ec/google/chromeec/ec.h> #include <ec/google/chromeec/i2c_tunnel/chip.h> -#include <string.h> /* FIXME: Comments seem to suggest these are not entirely correct. */ static const fsp_ddi_descriptor non_hdmi_ddi_descriptors[] = { |