Skip to content

Commit 449f328

Browse files
Zhenzhong DuanKAGA-KOKO
authored andcommitted
x86/boot/compressed/64: Remove unused variable
Fix gcc warning: arch/x86/boot/compressed/pgtable_64.c: In function 'find_trampoline_placement': arch/x86/boot/compressed/pgtable_64.c:43:16: warning: unused variable 'trampoline_start' [-Wunused-variable] unsigned long trampoline_start; ^ Signed-off-by: Zhenzhong Duan <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent cd6697b commit 449f328

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/x86/boot/compressed/pgtable_64.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ int cmdline_find_option_bool(const char *option);
4040
static unsigned long find_trampoline_placement(void)
4141
{
4242
unsigned long bios_start = 0, ebda_start = 0;
43-
unsigned long trampoline_start;
4443
struct boot_e820_entry *entry;
4544
char *signature;
4645
int i;

0 commit comments

Comments
 (0)