diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-02-14 20:07:11 +0100 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2021-02-16 17:11:27 +0000 |
commit | 72bb8aa9402cad9d3eff3f9d73e3356b2b52014a (patch) | |
tree | 8737cd39baa71c30784cca945a62697cc44f885d /src/mainboard/ocp | |
parent | 485a83f1f3bb88b7fac2a3434fb7dd266814a9b2 (diff) |
mb/ocp/deltalake: 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: I0d2c362ba9b494bf4cce280192ec0b91dce3e8bb
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50686
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Zhang <jonzhang@fb.com>
Diffstat (limited to 'src/mainboard/ocp')
-rw-r--r-- | src/mainboard/ocp/deltalake/ipmi.c | 1 | ||||
-rw-r--r-- | src/mainboard/ocp/deltalake/loglevel_vpd.c | 1 | ||||
-rw-r--r-- | src/mainboard/ocp/deltalake/romstage.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/src/mainboard/ocp/deltalake/ipmi.c b/src/mainboard/ocp/deltalake/ipmi.c index 90222157e3..25a5a27cba 100644 --- a/src/mainboard/ocp/deltalake/ipmi.c +++ b/src/mainboard/ocp/deltalake/ipmi.c @@ -5,7 +5,6 @@ #include <drivers/ipmi/ipmi_ops.h> #include <drivers/ipmi/ocp/ipmi_ocp.h> #include <drivers/vpd/vpd.h> -#include <string.h> #include "ipmi.h" #include "vpd.h" diff --git a/src/mainboard/ocp/deltalake/loglevel_vpd.c b/src/mainboard/ocp/deltalake/loglevel_vpd.c index 78808797a8..aa85cb9d57 100644 --- a/src/mainboard/ocp/deltalake/loglevel_vpd.c +++ b/src/mainboard/ocp/deltalake/loglevel_vpd.c @@ -2,7 +2,6 @@ #include <console/console.h> #include <drivers/vpd/vpd.h> -#include <string.h> #include "vpd.h" diff --git a/src/mainboard/ocp/deltalake/romstage.c b/src/mainboard/ocp/deltalake/romstage.c index 0a7ecf18d8..f833715f90 100644 --- a/src/mainboard/ocp/deltalake/romstage.c +++ b/src/mainboard/ocp/deltalake/romstage.c @@ -7,7 +7,6 @@ #include <fsp/api.h> #include <FspmUpd.h> #include <soc/romstage.h> -#include <string.h> #include "chip.h" #include "ipmi.h" |