From e050a2c88fc963cb97d9794849e9e2b60fabbe77 Mon Sep 17 00:00:00 2001 From: Joel Kitching Date: Mon, 22 Jul 2019 14:21:35 +0800 Subject: vboot: deprecate VbExError function Convert uses of this function to call VB2_DEBUG and manually exit if necessary. BUG=b:124141368 TEST=make clean && make runtests BRANCH=none Change-Id: I9006b1a9c66645757d33310d96207233b88eaed5 Signed-off-by: Joel Kitching Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1710340 Tested-by: Joel Kitching Reviewed-by: Julius Werner Commit-Queue: Joel Kitching --- firmware/stub/vboot_api_stub_init.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'firmware/stub') diff --git a/firmware/stub/vboot_api_stub_init.c b/firmware/stub/vboot_api_stub_init.c index 23ae9f78..0f7a3482 100644 --- a/firmware/stub/vboot_api_stub_init.c +++ b/firmware/stub/vboot_api_stub_init.c @@ -15,34 +15,6 @@ #include "vboot_api.h" -/* U-Boot's printf uses '%L' for uint64_t. gcc uses '%l'. */ -#define MAX_FMT 255 -static char fmtbuf[MAX_FMT+1]; - -static const char *fixfmt(const char *format) -{ - int i; - for(i=0; i