mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 09:12:08 +02:00
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>
This commit is contained in:
committed by
Heinrich Schuchardt
parent
b0b13f4114
commit
9de6ce807e
@@ -886,8 +886,6 @@ static efi_status_t efi_set_variable_common(u16 *variable_name,
|
|||||||
u32 attr;
|
u32 attr;
|
||||||
efi_status_t ret = EFI_SUCCESS;
|
efi_status_t ret = EFI_SUCCESS;
|
||||||
|
|
||||||
debug("%s: set '%s'\n", __func__, native_name);
|
|
||||||
|
|
||||||
if (!variable_name || !*variable_name || !vendor ||
|
if (!variable_name || !*variable_name || !vendor ||
|
||||||
((attributes & EFI_VARIABLE_RUNTIME_ACCESS) &&
|
((attributes & EFI_VARIABLE_RUNTIME_ACCESS) &&
|
||||||
!(attributes & EFI_VARIABLE_BOOTSERVICE_ACCESS))) {
|
!(attributes & EFI_VARIABLE_BOOTSERVICE_ACCESS))) {
|
||||||
|
Reference in New Issue
Block a user