mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Remove write-only variable.
MFC after: 3 days
This commit is contained in:
parent
57e58a39d6
commit
31f7a2032e
1 changed files with 0 additions and 2 deletions
|
|
@ -65,7 +65,6 @@ map_object(int fd, const char *path, const struct stat *sb)
|
|||
Elf_Phdr *phtls;
|
||||
caddr_t mapbase;
|
||||
size_t mapsize;
|
||||
Elf_Off base_offset;
|
||||
Elf_Addr base_vaddr;
|
||||
Elf_Addr base_vlimit;
|
||||
caddr_t base_addr;
|
||||
|
|
@ -174,7 +173,6 @@ map_object(int fd, const char *path, const struct stat *sb)
|
|||
* Map the entire address space of the object, to stake out our
|
||||
* contiguous region, and to establish the base address for relocation.
|
||||
*/
|
||||
base_offset = trunc_page(segs[0]->p_offset);
|
||||
base_vaddr = trunc_page(segs[0]->p_vaddr);
|
||||
base_vlimit = round_page(segs[nsegs]->p_vaddr + segs[nsegs]->p_memsz);
|
||||
mapsize = base_vlimit - base_vaddr;
|
||||
|
|
|
|||
Loading…
Reference in a new issue