On Mon, 5 Feb 2024, Frediano Ziglio wrote:
> The variable is assigned later, that value is never used.
> 
> Signed-off-by: Frediano Ziglio <[email protected]>

Reviewed-by: Stefano Stabellini <[email protected]>

> ---
>  xen/common/event_channel.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/xen/common/event_channel.c b/xen/common/event_channel.c
> index a7a004a084..15aec5dcbb 100644
> --- a/xen/common/event_channel.c
> +++ b/xen/common/event_channel.c
> @@ -324,8 +324,6 @@ int evtchn_alloc_unbound(evtchn_alloc_unbound_t *alloc, 
> evtchn_port_t port)
>          goto out;
>      }
>  
> -    rc = 0;
> -
>      chn = evtchn_from_port(d, port);
>  
>      rc = xsm_evtchn_unbound(XSM_TARGET, d, chn, alloc->remote_dom);
> -- 
> 2.34.1
> 

Reply via email to