summaryrefslogtreecommitdiff
path: root/lib/print_crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/print_crypto.c')
-rw-r--r--lib/print_crypto.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/print_crypto.c b/lib/print_crypto.c
index 1bab0a6c..ccdb65b1 100644
--- a/lib/print_crypto.c
+++ b/lib/print_crypto.c
@@ -2,11 +2,6 @@
/*
* Copyright 2019 SUSE LLC <glin@suse.com>
*/
-
-#include <efi.h>
-#include <efilib.h>
-#include <stdarg.h>
-
#include "shim.h"
#include <Library/BaseCryptLib.h>
@@ -15,7 +10,7 @@
#include <console.h>
static int
-print_errors_cb(const char *str, size_t len, void *u)
+print_errors_cb(const char *str, size_t len, void *u UNUSED)
{
console_print(L"%a", str);