summaryrefslogtreecommitdiffstats
path: root/reloc/reloc_linux.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2008-02-05 23:49:24 -0800
committerH. Peter Anvin <hpa@zytor.com>2008-02-05 23:49:24 -0800
commit509783f7464133938fbd5cbaf622481dd31a2b84 (patch)
tree2811dca41bb0ce51006cce250070eb4245cb1aa6 /reloc/reloc_linux.c
parent6d8ba6304d385200122923a6ddec92b4b803f576 (diff)
downloadwraplinux-509783f7464133938fbd5cbaf622481dd31a2b84.tar.gz
wraplinux-509783f7464133938fbd5cbaf622481dd31a2b84.tar.xz
wraplinux-509783f7464133938fbd5cbaf622481dd31a2b84.zip
reloc/reloc_linux.c: Remove unused variables
Diffstat (limited to 'reloc/reloc_linux.c')
-rw-r--r--reloc/reloc_linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/reloc/reloc_linux.c b/reloc/reloc_linux.c
index e81d6cb..9de8b49 100644
--- a/reloc/reloc_linux.c
+++ b/reloc/reloc_linux.c
@@ -76,7 +76,6 @@ static int probe_memory_e820(void)
uint64_t len;
uint32_t type;
} buf;
- uint64_t base, end;
int rv = -1;
uint32_t copied;
@@ -108,7 +107,7 @@ static int probe_memory_e820(void)
static int probe_memory_e801(void)
{
com32sys_t regs;
- uint64_t base, end;
+ uint64_t end;
memset(&regs, 0, sizeof regs);
regs.eax.w[0] = 0xe801;