diff options
author | Laurent Vivier <laurent@vivier.eu> | 2019-07-14 15:40:27 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2019-09-10 10:28:50 +0200 |
commit | 9d3019bce39efd32f54d31d4aedef27a31a15c24 (patch) | |
tree | eb9b8be053427e6ee1451a08a520c93b758a188a /hmp-commands.hx | |
parent | 89ea03a7dc83ca36b670ba7f787802791fcb04b1 (diff) |
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 'hmp-commands.hx')
0 files changed, 0 insertions, 0 deletions