aboutsummaryrefslogtreecommitdiff
path: root/migration/rdma.c
diff options
context:
space:
mode:
authorLi Zhijian <lizhijian@fujitsu.com>2023-03-16 10:55:00 +0100
committerJuan Quintela <quintela@redhat.com>2023-03-16 16:07:07 +0100
commitbf0274192a6c1aac67ca6ee6a96b5f295cfc8d0a (patch)
tree6222359dfa27b0c76e26edafc1bb701cb9749ca3 /migration/rdma.c
parent1776b70f55c75541e9cab3423650a59b085162a9 (diff)
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 <lizhijian@fujitsu.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/rdma.c')
-rw-r--r--migration/rdma.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/migration/rdma.c b/migration/rdma.c
index 9d70e9885b..df646be35e 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,