qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] migration/rdma: Remove deprecated variable rdma_return_path


From: address@hidden
Subject: Re: [PATCH] migration/rdma: Remove deprecated variable rdma_return_path
Date: Thu, 16 Mar 2023 08:51:47 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1

Not clear why it doesn't appear in the 
archive(https://lists.gnu.org/archive/html/qemu-devel/2023-03/threads.html)

nop...


On 15/03/2023 09:22, Li Zhijian wrote:
> It's no longer needed since commit
> 44bcfd45e98 ("migration/rdma: destination: create the return patch after the 
> first accept")
> 
> Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
> ---
>   migration/rdma.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/migration/rdma.c b/migration/rdma.c
> index f5d3bbe7e9c..2bc2fcf727b 100644
> --- a/migration/rdma.c
> +++ b/migration/rdma.c
> @@ -4214,7 +4214,7 @@ static void rdma_accept_incoming_migration(void *opaque)
>   void rdma_start_incoming_migration(const char *host_port, Error **errp)
>   {
>       int ret;
> -    RDMAContext *rdma, *rdma_return_path = NULL;
> +    RDMAContext *rdma;
>       Error *local_err = NULL;
>   
>       trace_rdma_start_incoming_migration();
> @@ -4260,7 +4260,6 @@ err:
>           g_free(rdma->host_port);
>       }
>       g_free(rdma);
> -    g_free(rdma_return_path);
>   }
>   
>   void rdma_start_outgoing_migration(void *opaque,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]