summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@oracle.com>2019-07-16 16:17:20 +0300
committerThomas Gleixner <tglx@linutronix.de>2019-07-18 22:41:57 +0300
commit449f328637e3ca62461da04d60ccb35aa5aa21dc (patch)
tree84e69322fd91c86c21addd3fc8badd418d589648 /arch/x86
parentcd6697b8b8751b65abd7859af55cf06f36b8e716 (diff)
downloadlinux-449f328637e3ca62461da04d60ccb35aa5aa21dc.tar.xz
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 <zhenzhong.duan@oracle.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Link: https://lkml.kernel.org/r/1563283040-31101-1-git-send-email-zhenzhong.duan@oracle.com
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/boot/compressed/pgtable_64.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/boot/compressed/pgtable_64.c b/arch/x86/boot/compressed/pgtable_64.c
index f8debf7aeb4c..5f2d03067ae5 100644
--- a/arch/x86/boot/compressed/pgtable_64.c
+++ b/arch/x86/boot/compressed/pgtable_64.c
@@ -40,7 +40,6 @@ int cmdline_find_option_bool(const char *option);
static unsigned long find_trampoline_placement(void)
{
unsigned long bios_start = 0, ebda_start = 0;
- unsigned long trampoline_start;
struct boot_e820_entry *entry;
char *signature;
int i;