diff options
author | Stefan Brüns <stefan.bruens@rwth-aachen.de> | 2015-09-02 03:38:52 +0200 |
---|---|---|
committer | Riku Voipio <riku.voipio@linaro.org> | 2015-09-28 16:29:01 +0300 |
commit | 84646ee25b68321624ef4768011e91064e4bd440 (patch) | |
tree | bab5470d2eccb86afe37b15150fc8b9168635e04 /linux-user | |
parent | ba02577cadbe5b53db791522310c977f9960f81f (diff) | |
download | qemu-84646ee25b68321624ef4768011e91064e4bd440.zip qemu-84646ee25b68321624ef4768011e91064e4bd440.tar.gz qemu-84646ee25b68321624ef4768011e91064e4bd440.tar.bz2 |
linux-user: remove unused image_info members
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/elfload.c | 3 | ||||
-rw-r--r-- | linux-user/qemu.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index a7ff58c..ad46530 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1455,7 +1455,6 @@ static abi_ulong setup_arg_pages(abi_ulong p, struct linux_binprm *bprm, for (i = 0 ; i < MAX_ARG_PAGES ; i++) { if (bprm->page[i]) { - info->rss++; /* FIXME - check return value of memcpy_to_target() for failure */ memcpy_to_target(stack_base, bprm->page[i], TARGET_PAGE_SIZE); g_free(bprm->page[i]); @@ -2206,8 +2205,6 @@ int load_elf_binary(struct linux_binprm *bprm, struct image_info *info) char *elf_interpreter = NULL; info->start_mmap = (abi_ulong)ELF_START_MMAP; - info->mmap = 0; - info->rss = 0; load_elf_image(bprm->filename, bprm->fd, info, &elf_interpreter, bprm->buf); diff --git a/linux-user/qemu.h b/linux-user/qemu.h index e8606b2..678e5d6 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -36,8 +36,6 @@ struct image_info { abi_ulong start_brk; abi_ulong brk; abi_ulong start_mmap; - abi_ulong mmap; - abi_ulong rss; abi_ulong start_stack; abi_ulong stack_limit; abi_ulong entry; |