Re: [PATCH 1/1] multifd: Remove some redundant code

2021-12-17 Thread Li Zhang
On 12/17/21 10:39 AM, Claudio Fontana wrote: Hi Li, the full function for context: static void multifd_new_send_channel_async(QIOTask *task, gpointer opaque) { MultiFDSendParams *p = opaque; QIOChannel *sioc = QIO_CHANNEL(qio_task_get_source(task)); Error *local_err = NULL;

Re: [PATCH 1/1] multifd: Remove some redundant code

2021-12-17 Thread Claudio Fontana
Hi Li, the full function for context: static void multifd_new_send_channel_async(QIOTask *task, gpointer opaque) { MultiFDSendParams *p = opaque; QIOChannel *sioc = QIO_CHANNEL(qio_task_get_source(task)); Error *local_err = NULL; trace_multifd_new_send_channel_async(p->id); i

[PATCH 1/1] multifd: Remove some redundant code

2021-12-17 Thread Li Zhang
Clean up some unnecessary code Signed-off-by: Li Zhang --- migration/multifd.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/migration/multifd.c b/migration/multifd.c index 3242f688e5..1405cf95b8 100644 --- a/migration/multifd.c +++ b/migration/multifd.c @@ -854,9