aboutsummaryrefslogtreecommitdiff
path: root/linux-user/flatload.c
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-01-09 09:10:50 +0000
committerRiku Voipio <riku.voipio@linaro.org>2014-01-10 08:51:37 +0200
commitf0116c5458dc3be398ee7ef8daeaa02ba738bdc1 (patch)
tree14b89b37faf6aa3ef1b37fb4f6dbdf126d76c799 /linux-user/flatload.c
parentb9d36eb2c7d73875ef44182f18d625f1bc4c7fda (diff)
linux-user: Remove regs parameter of load_elf_binary and load_flt_binary
The regs parameter is not used anywhere, so remove it. Signed-off-by: Will Newton <will.newton@linaro.org> Reviewed-by: Erik de Castro Lopo <erikd@mega-nerd.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'linux-user/flatload.c')
-rw-r--r--linux-user/flatload.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux-user/flatload.c b/linux-user/flatload.c
index ceb89bb6ea..566a7a87a3 100644
--- a/linux-user/flatload.c
+++ b/linux-user/flatload.c
@@ -704,8 +704,7 @@ static int load_flat_shared_library(int id, struct lib_info *libs)
#endif /* CONFIG_BINFMT_SHARED_FLAT */
-int load_flt_binary(struct linux_binprm * bprm, struct target_pt_regs * regs,
- struct image_info * info)
+int load_flt_binary(struct linux_binprm *bprm, struct image_info *info)
{
struct lib_info libinfo[MAX_SHARED_LIBS];
abi_ulong p = bprm->p;