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>
This commit is contained in:
parent
e5446cafd6
commit
7e821a1526
|
@ -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)
|
||||
|
|
|
@ -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>
|
||||
|
||||
/*
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
|
@ -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[] = {
|
||||
|
|
Loading…
Reference in New Issue