From f0116c5458dc3be398ee7ef8daeaa02ba738bdc1 Mon Sep 17 00:00:00 2001 From: Will Newton Date: Thu, 9 Jan 2014 09:10:50 +0000 Subject: linux-user: Remove regs parameter of load_elf_binary and load_flt_binary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The regs parameter is not used anywhere, so remove it. Signed-off-by: Will Newton Reviewed-by: Erik de Castro Lopo Reviewed-by: Andreas Färber Signed-off-by: Riku Voipio --- linux-user/linuxload.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'linux-user/linuxload.c') diff --git a/linux-user/linuxload.c b/linux-user/linuxload.c index a1fe5ed9ae..f2997c2f4b 100644 --- a/linux-user/linuxload.c +++ b/linux-user/linuxload.c @@ -154,13 +154,13 @@ int loader_exec(int fdexec, const char *filename, char **argv, char **envp, && bprm->buf[1] == 'E' && bprm->buf[2] == 'L' && bprm->buf[3] == 'F') { - retval = load_elf_binary(bprm, regs, infop); + retval = load_elf_binary(bprm, infop); #if defined(TARGET_HAS_BFLT) } else if (bprm->buf[0] == 'b' && bprm->buf[1] == 'F' && bprm->buf[2] == 'L' && bprm->buf[3] == 'T') { - retval = load_flt_binary(bprm,regs,infop); + retval = load_flt_binary(bprm, infop); #endif } else { return -ENOEXEC; -- cgit v1.2.1