diff options
| author | Laurent Vivier | 2019-07-14 15:40:27 +0200 |
|---|---|---|
| committer | Laurent Vivier | 2019-09-10 10:28:50 +0200 |
| commit | 9d3019bce39efd32f54d31d4aedef27a31a15c24 (patch) | |
| tree | eb9b8be053427e6ee1451a08a520c93b758a188a /scripts | |
| parent | Merge remote-tracking branch 'remotes/huth-gitlab/tags/m68k-pull-2019-09-07' ... (diff) | |
| download | qemu-9d3019bce39efd32f54d31d4aedef27a31a15c24.tar.gz qemu-9d3019bce39efd32f54d31d4aedef27a31a15c24.tar.xz qemu-9d3019bce39efd32f54d31d4aedef27a31a15c24.zip | |
linux-user: remove useless variable
filename is only used to open the file if AT_EXECFD is not provided.
But exec_path already contains the path of the file to open.
Remove filename as it is only used in main.c whereas exec_path is
also used in syscall.c.
Fixes: d088d664f201 ("linux-user: identify running binary in /proc/self/exe")
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Message-Id: <20190714134028.315-1-laurent@vivier.eu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
