efi/libstub/x86: Remove pointless zeroing of apm_bios_info
authorArd Biesheuvel <ardb@kernel.org>
Mon, 10 Feb 2020 16:02:30 +0000 (17:02 +0100)
committerArd Biesheuvel <ardb@kernel.org>
Sat, 22 Feb 2020 22:37:37 +0000 (23:37 +0100)
commite6d832ea9ac63316ee72df5e9f21698cfd486698
tree34c5ea2a05ac33aef808765a84f4e3b1748675dd
parent3b9274ea1c0279b369212ccd440c9d61efdfa562
efi/libstub/x86: Remove pointless zeroing of apm_bios_info

We have some code in the EFI stub entry point that takes the address
of the apm_bios_info struct in the newly allocated and zeroed out
boot_params structure, only to zero it out again. This is pointless
so remove it.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
arch/x86/boot/compressed/eboot.c