summaryrefslogtreecommitdiff
path: root/src/security
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-07-07 22:06:10 +0200
committerMichael Niewöhner <c0d3z3r0@review.coreboot.org>2020-07-09 21:29:27 +0000
commit20d7bd0291abafaa73de7424f199e4ada483c0d4 (patch)
treeee46d914139cc94cc02979baab785b7680634e5d /src/security
parent649fc6bb8ad9b0438b6cf2f0505a93bdf7021386 (diff)
security/vboot/secdata_tpm.c: Drop dead code
This code is not even being build-tested. Drop it before it grows moss. Change-Id: Ie01d65f80caf32a8318d5109ad48321661c5a87b Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/43213 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Michael Niewöhner Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security')
-rw-r--r--src/security/vboot/secdata_tpm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/security/vboot/secdata_tpm.c b/src/security/vboot/secdata_tpm.c
index d350b38262..dcb3c44d73 100644
--- a/src/security/vboot/secdata_tpm.c
+++ b/src/security/vboot/secdata_tpm.c
@@ -13,13 +13,8 @@
#include <vb2_api.h>
#include <console/console.h>
-#ifdef FOR_TEST
-#include <stdio.h>
-#define VBDEBUG(format, args...) printf(format, ## args)
-#else
#define VBDEBUG(format, args...) \
printk(BIOS_INFO, "%s():%d: " format, __func__, __LINE__, ## args)
-#endif
#define RETURN_ON_FAILURE(tpm_cmd) do { \
uint32_t result_; \