mirror of
https://github.com/torvalds/linux.git
synced 2024-11-22 20:22:09 +00:00
efi/x86: libstub: remove unused variable
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>
This commit is contained in:
parent
1a3887924a
commit
7a1ec84ffb
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user