commit | f1d4836201543e88ebe70237e67938168d5fab19 | [log] [tgz] |
---|---|---|
author | Qian Cai <cai@lca.pw> | Tue Jul 30 17:23:48 2019 -0400 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Wed Jul 31 18:13:46 2019 +0100 |
tree | 18cec2873cf0e86097e47fef34b9b5179509fd44 | |
parent | 147b9635e6347104b91f48ca9dca61eb0fbf2a54 [diff] |
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>