diff options
author | Arnd Bergmann <[email protected]> | 2020-01-13 18:22:35 +0100 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2020-01-20 08:13:00 +0100 |
commit | bd1d7093a8086df37d260bd1f1d896c0922d34ef (patch) | |
tree | 6af19319f2d4fe438afcc7f047f3807b624f0bd8 /scripts/bpf_helpers_doc.py | |
parent | ac3c76cc6d6deef573dd8c14232f20c6aa744f83 (diff) |
efi/libstub/x86: Fix unused-variable warning
The only users of these got removed, so they also need to be
removed to avoid warnings:
arch/x86/boot/compressed/eboot.c: In function 'setup_efi_pci':
arch/x86/boot/compressed/eboot.c:117:16: error: unused variable 'nr_pci' [-Werror=unused-variable]
unsigned long nr_pci;
^~~~~~
arch/x86/boot/compressed/eboot.c: In function 'setup_uga':
arch/x86/boot/compressed/eboot.c:244:16: error: unused variable 'nr_ugas' [-Werror=unused-variable]
unsigned long nr_ugas;
^~~~~~~
Fixes: 2732ea0d5c0a ("efi/libstub: Use a helper to iterate over a EFI handle array")
Signed-off-by: Arnd Bergmann <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions