Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4e27d475 authored by Ard Biesheuvel's avatar Ard Biesheuvel
Browse files

arm64/efi: drop redundant set_bit(EFI_CONFIG_TABLES)



The EFI_CONFIG_TABLES bit already gets set by efi_config_init(),
so there is no reason to set it again after this function returns
successfully.

Acked-by: default avatarWill Deacon <will.deacon@arm.com>
Signed-off-by: default avatarArd Biesheuvel <ard.biesheuvel@linaro.org>
parent 61139eb0
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -112,8 +112,6 @@ static int __init uefi_init(void)
		efi.systab->hdr.revision & 0xffff, vendor);
		efi.systab->hdr.revision & 0xffff, vendor);


	retval = efi_config_init(NULL);
	retval = efi_config_init(NULL);
	if (retval == 0)
		set_bit(EFI_CONFIG_TABLES, &efi.flags);


out:
out:
	early_memunmap(efi.systab,  sizeof(efi_system_table_t));
	early_memunmap(efi.systab,  sizeof(efi_system_table_t));