summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2018-04-05 13:02:10 -0400
committerPeter Jones <pjones@redhat.com>2018-04-05 14:09:46 -0400
commit4ffcfdf4daa82f1f3c28f8fc06b5df1d8becec21 (patch)
treeb836e4ddade01fb5bda5ad6c350e4fba0d4ba4bb /include
parent15a34804171b6579fe85010c1201540002240885 (diff)
downloadefi-boot-shim-4ffcfdf4daa82f1f3c28f8fc06b5df1d8becec21.tar.gz
efi-boot-shim-4ffcfdf4daa82f1f3c28f8fc06b5df1d8becec21.zip
Get rid of dprinta(), it's useless
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/console.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/console.h b/include/console.h
index 517065cc..c5159d78 100644
--- a/include/console.h
+++ b/include/console.h
@@ -82,18 +82,6 @@ extern UINT8 verbose;
__dprint_ret = console_print((fmt), ##__VA_ARGS__); \
__dprint_ret; \
})
-#define dprinta(fmt, ...) ({ \
- UINTN __dprinta_ret = 0; \
- if (verbose) { \
- UINTN __dprinta_i; \
- CHAR16 *__dprinta_str = AllocateZeroPool((strlena(fmt) + 1) * 2); \
- for (__dprinta_i = 0; fmt[__dprinta_i] != '\0'; __dprinta_i++) \
- __dprinta_str[__dprinta_i] = fmt[__dprinta_i]; \
- __dprinta_ret = console_print((__dprinta_str), ##__VA_ARGS__); \
- FreePool(__dprinta_str); \
- } \
- __dprinta_ret; \
- })
extern EFI_STATUS print_crypto_errors(EFI_STATUS rc, char *file, const char *func, int line);
#define crypterr(rc) print_crypto_errors((rc), __FILE__, __func__, __LINE__)