projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61139eb
)
arm64/efi: drop redundant set_bit(EFI_CONFIG_TABLES)
author
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Fri, 17 Oct 2014 10:44:11 +0000
(12:44 +0200)
committer
Ard Biesheuvel
<ard.biesheuvel@linaro.org>
Wed, 5 Nov 2014 08:03:14 +0000
(09:03 +0100)
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: Will Deacon <will.deacon@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
arch/arm64/kernel/efi.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm64/kernel/efi.c
b/arch/arm64/kernel/efi.c
index 2e829148fb36ad74a6ea4d33f88535869975b43f..558572ef1ea3e85a6d6be26211de1416a679e632 100644
(file)
--- a/
arch/arm64/kernel/efi.c
+++ b/
arch/arm64/kernel/efi.c
@@
-112,8
+112,6
@@
static int __init uefi_init(void)
efi.systab->hdr.revision & 0xffff, vendor);
retval = efi_config_init(NULL);
- if (retval == 0)
- set_bit(EFI_CONFIG_TABLES, &efi.flags);
out:
early_memunmap(efi.systab, sizeof(efi_system_table_t));