summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-11-30 20:06:24 +0100
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-12-19 05:24:07 +0000
commit94b503094f8a424a02b18bb7f09c639c896df85e (patch)
tree1b1796a9def98951d06dadb94cd81483409bda9c
parentdda17fa2220a4181971a0c6973aededea0e1517b (diff)
downloadcoreboot-94b503094f8a424a02b18bb7f09c639c896df85e.tar.xz
src/security: Remove unused <stdlib.h>
Change-Id: I0b5c375baf7911ebced2f8c43a88aae014c877ad Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33694 Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/security/tpm/tspi/tspi.c1
-rw-r--r--src/security/tpm/tss/tcg-2.0/tss_marshaling.c1
-rw-r--r--src/security/vboot/secdata_mock.c1
-rw-r--r--src/security/vboot/secdata_tpm.c1
4 files changed, 0 insertions, 4 deletions
diff --git a/src/security/tpm/tspi/tspi.c b/src/security/tpm/tspi/tspi.c
index 966b8b7c77..5fcf92df65 100644
--- a/src/security/tpm/tspi/tspi.c
+++ b/src/security/tpm/tspi/tspi.c
@@ -19,7 +19,6 @@
#include <console/console.h>
#include <security/tpm/tspi.h>
#include <security/tpm/tss.h>
-#include <stdlib.h>
#if CONFIG(VBOOT)
#include <vb2_api.h>
#include <vb2_sha.h>
diff --git a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
index 720e7c4b68..48798c7a04 100644
--- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
+++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
@@ -7,7 +7,6 @@
#include <commonlib/iobuf.h>
#include <console/console.h>
-#include <stdlib.h>
#include <string.h>
#include "tss_marshaling.h"
diff --git a/src/security/vboot/secdata_mock.c b/src/security/vboot/secdata_mock.c
index a6c4afb170..a4957f9575 100644
--- a/src/security/vboot/secdata_mock.c
+++ b/src/security/vboot/secdata_mock.c
@@ -32,7 +32,6 @@
* stored in the TPM NVRAM.
*/
-#include <stdlib.h>
#include <security/tpm/tspi.h>
#include <vb2_api.h>
diff --git a/src/security/vboot/secdata_tpm.c b/src/security/vboot/secdata_tpm.c
index 0ce213662e..96fac29fcf 100644
--- a/src/security/vboot/secdata_tpm.c
+++ b/src/security/vboot/secdata_tpm.c
@@ -34,7 +34,6 @@
#include <security/vboot/antirollback.h>
#include <security/vboot/tpm_common.h>
-#include <stdlib.h>
#include <string.h>
#include <security/tpm/tspi.h>
#include <vb2_api.h>