efi/x86: libstub: remove unused variable
authorchen zhang <chenzhang@kylinos.cn>
Wed, 7 Sep 2022 02:32:55 +0000 (10:32 +0800)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 7 Sep 2022 07:03:53 +0000 (09:03 +0200)
commit7a1ec84ffba9e90ac772ddb33ea9c3899ed8d2c9
tree0464df3a33684812df9958515d8122c5b56f72b0
parent1a3887924a7e6edd331be76da7bf4c1e8eab4b1e
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>
drivers/firmware/efi/libstub/x86-stub.c