efi/libstub/x86: simplify efi_is_native()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 3 Oct 2020 06:03:56 +0000 (08:03 +0200)
committerArd Biesheuvel <ardb@kernel.org>
Mon, 26 Oct 2020 07:06:36 +0000 (08:06 +0100)
commitbc13809f1c47245cd584f4ad31ad06a5c5f40e54
tree920fa0f95cef8d571d996b4dd8570b03c8b46ef0
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec
efi/libstub/x86: simplify efi_is_native()

CONFIG_EFI_MIXED depends on CONFIG_X86_64=y.
There is no need to check CONFIG_X86_64 again.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Link: https://lore.kernel.org/r/20201003060356.4913-1-xypron.glpk@gmx.de
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/include/asm/efi.h