migration/rdma: Remove deprecated variable rdma_return_path

It's no longer needed since commit
44bcfd45e9 ("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>
This commit is contained in:
Li Zhijian 2023-03-16 10:55:00 +01:00 committed by Juan Quintela
parent 1776b70f55
commit bf0274192a

View File

@ -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,