From bf0274192a6c1aac67ca6ee6a96b5f295cfc8d0a Mon Sep 17 00:00:00 2001 From: Li Zhijian Date: Thu, 16 Mar 2023 10:55:00 +0100 Subject: migration/rdma: Remove deprecated variable rdma_return_path It's no longer needed since commit 44bcfd45e98 ("migration/rdma: destination: create the return patch after the first accept") Signed-off-by: Li Zhijian Reviewed-by: Juan Quintela Signed-off-by: Juan Quintela --- migration/rdma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/migration/rdma.c b/migration/rdma.c index 9d70e98..df646be 100644 --- a/migration/rdma.c +++ b/migration/rdma.c @@ -4111,7 +4111,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(); @@ -4157,7 +4157,6 @@ err: g_free(rdma->host_port); } g_free(rdma); - g_free(rdma_return_path); } void rdma_start_outgoing_migration(void *opaque, -- cgit v1.1