Skip to content
Snippets Groups Projects
Commit 7a1ec84f authored by chen zhang's avatar chen zhang Committed by Ard Biesheuvel
Browse files

efi/x86: libstub: remove unused variable


The variable "has_system_memory" is unused in function
‘adjust_memory_range_protection’, remove it.

Signed-off-by: default avatarchen zhang <chenzhang@kylinos.cn>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 1a388792
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment