[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 1/2] linux-user: remove useless variable
From: |
Stefano Garzarella |
Subject: |
Re: [Qemu-devel] [PATCH v2 1/2] linux-user: remove useless variable |
Date: |
Mon, 9 Sep 2019 10:14:06 +0200 |
User-agent: |
NeoMutt/20180716 |
On Sun, Sep 08, 2019 at 12:48:15PM +0200, Laurent Vivier wrote:
> 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 <address@hidden>
> ---
> linux-user/main.c | 10 ++++------
> 1 file changed, 4 insertions(+), 6 deletions(-)
Reviewed-by: Stefano Garzarella <address@hidden>