summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPragnesh Patel <pragnesh.patel@sifive.com>2020-05-19 13:13:34 +0300
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-05-21 11:00:17 +0300
commit9de6ce807edaee02ae448a5130e9e78d60cc9b90 (patch)
treef90c805e0da5f020d9645f509f20fcb13d916817 /lib
parentb0b13f4114d30b6756e0f6f3b5819d78de22541e (diff)
downloadu-boot-9de6ce807edaee02ae448a5130e9e78d60cc9b90.tar.xz
efi_loader: Remove unnecessary debug
Remove unnecessary debug() from efi_set_variable_common(). native_name is NULL, so there is no meaning to print it. Signed-off-by: Pragnesh Patel <pragnesh.patel@sifive.com> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_variable.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/efi_loader/efi_variable.c b/lib/efi_loader/efi_variable.c
index fc7ae73978..0a43db5678 100644
--- a/lib/efi_loader/efi_variable.c
+++ b/lib/efi_loader/efi_variable.c
@@ -886,8 +886,6 @@ static efi_status_t efi_set_variable_common(u16 *variable_name,
u32 attr;
efi_status_t ret = EFI_SUCCESS;
- debug("%s: set '%s'\n", __func__, native_name);
-
if (!variable_name || !*variable_name || !vendor ||
((attributes & EFI_VARIABLE_RUNTIME_ACCESS) &&
!(attributes & EFI_VARIABLE_BOOTSERVICE_ACCESS))) {