projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a38879
)
efi/x86: libstub: remove unused variable
author
chen zhang
<chenzhang@kylinos.cn>
Wed, 7 Sep 2022 02:32:55 +0000
(10:32 +0800)
committer
Ard Biesheuvel
<ardb@kernel.org>
Wed, 7 Sep 2022 07:03:53 +0000
(09:03 +0200)
The variable "has_system_memory" is unused in function
‘adjust_memory_range_protection’, remove it.
Signed-off-by: chen zhang <chenzhang@kylinos.cn>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/x86-stub.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/efi/libstub/x86-stub.c
b/drivers/firmware/efi/libstub/x86-stub.c
index
05ae8bc
..
43ca665
100644
(file)
--- a/
drivers/firmware/efi/libstub/x86-stub.c
+++ b/
drivers/firmware/efi/libstub/x86-stub.c
@@
-220,7
+220,6
@@
adjust_memory_range_protection(unsigned long start, unsigned long size)
unsigned long end, next;
unsigned long rounded_start, rounded_end;
unsigned long unprotect_start, unprotect_size;
- int has_system_memory = 0;
if (efi_dxe_table == NULL)
return;