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/elfload.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'linux-user/elfload.c') diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 8dd424d..5902f16 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -1998,8 +1998,7 @@ give_up: free(syms); } -int load_elf_binary(struct linux_binprm * bprm, struct target_pt_regs * regs, - struct image_info * info) +int load_elf_binary(struct linux_binprm *bprm, struct image_info *info) { struct image_info interp_info; struct elfhdr elf_ex; -- cgit v1.1