diff options
author | Qian Cai <cai@lca.pw> | 2019-07-30 23:23:48 +0200 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2019-07-31 19:13:46 +0200 |
commit | f1d4836201543e88ebe70237e67938168d5fab19 (patch) | |
tree | 18cec2873cf0e86097e47fef34b9b5179509fd44 /arch/arm64/include/asm/arch_gicv3.h | |
parent | arm64: cpufeature: Fix feature comparison for CTR_EL0.{CWG,ERG} (diff) | |
download | linux-f1d4836201543e88ebe70237e67938168d5fab19.tar.xz linux-f1d4836201543e88ebe70237e67938168d5fab19.zip |
arm64/efi: fix variable 'si' set but not used
GCC throws out this warning on arm64.
drivers/firmware/efi/libstub/arm-stub.c: In function 'efi_entry':
drivers/firmware/efi/libstub/arm-stub.c:132:22: warning: variable 'si'
set but not used [-Wunused-but-set-variable]
Fix it by making free_screen_info() a static inline function.
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Qian Cai <cai@lca.pw>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/arch_gicv3.h')
0 files changed, 0 insertions, 0 deletions