summaryrefslogtreecommitdiffstats
path: root/src/security/tpm/tspi/tspi.c
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/security/tpm/tspi/tspi.c
parentf769ee3e1b060ff94f8f087a810fb2c83e4e99fe (diff)
downloadcoreboot-b74f45e9c4ae7bb504986298df8da89b6f017e65.tar.gz
coreboot-b74f45e9c4ae7bb504986298df8da89b6f017e65.tar.bz2
coreboot-b74f45e9c4ae7bb504986298df8da89b6f017e65.zip
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/security/tpm/tspi/tspi.c')
-rw-r--r--src/security/tpm/tspi/tspi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/security/tpm/tspi/tspi.c b/src/security/tpm/tspi/tspi.c
index 144e3c31a091..6ef01383ce23 100644
--- a/src/security/tpm/tspi/tspi.c
+++ b/src/security/tpm/tspi/tspi.c
@@ -7,7 +7,6 @@
#include <security/tpm/tss.h>
#include <assert.h>
#include <security/vboot/misc.h>
-#include <string.h>
#include <vb2_api.h>
#include <vb2_sha.h>