efi_loader: Remove unnecessary debug
authorPragnesh Patel <pragnesh.patel@sifive.com>
Tue, 19 May 2020 10:13:34 +0000 (15:43 +0530)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 21 May 2020 08:00:17 +0000 (10:00 +0200)
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>
lib/efi_loader/efi_variable.c

index fc7ae73978ebe95fee0a34125956fa6aae59ada4..0a43db56788abf2dcaace97c2b7199915e5eb7e7 100644 (file)
@@ -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))) {