qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Juan Quintela <quintela@redhat.com>
To: qemu-devel@nongnu.org
Cc: Juan Quintela <quintela@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	Li Zhijian <lizhijian@fujitsu.com>
Subject: [PULL 5/7] migration/rdma: Remove deprecated variable rdma_return_path
Date: Thu, 16 Mar 2023 16:12:23 +0100	[thread overview]
Message-ID: <20230316151225.11362-6-quintela@redhat.com> (raw)
In-Reply-To: <20230316151225.11362-1-quintela@redhat.com>

From: Li Zhijian <lizhijian@fujitsu.com>

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>
---
 migration/rdma.c | 3 +--
 1 file changed, 1 insertion(+), 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,
-- 
2.39.2



  parent reply	other threads:[~2023-03-16 15:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16 15:12 [PULL 0/7] Migration 20230316 patches Juan Quintela
2023-03-16 15:12 ` [PULL 1/7] migration: Wait on preempt channel in preempt thread Juan Quintela
2023-03-16 15:12 ` [PULL 2/7] migration/rdma: Fix return-path case Juan Quintela
2023-03-16 15:12 ` [PULL 3/7] migration/xbzrle: use ctz64 to avoid undefined result Juan Quintela
2023-03-16 15:12 ` [PULL 4/7] migration/xbzrle: fix out-of-bounds write with axv512 Juan Quintela
2023-03-16 15:12 ` Juan Quintela [this message]
2023-03-16 15:12 ` [PULL 6/7] migration/multifd: correct multifd_send_thread to trace the flags Juan Quintela
2023-03-16 15:12 ` [PULL 7/7] migration: fix populate_vfio_info Juan Quintela
2023-03-17 13:11 ` [PULL 0/7] Migration 20230316 patches Peter Maydell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230316151225.11362-6-quintela@redhat.com \
    --to=quintela@redhat.com \
    --cc=dgilbert@redhat.com \
    --cc=lizhijian@fujitsu.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).