aboutsummaryrefslogtreecommitdiff
path: root/migration/multifd.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2021-11-22 12:08:08 +0100
committerJuan Quintela <quintela@redhat.com>2021-12-15 10:31:42 +0100
commit02fb81043ecee338e4aeb8f5be09a46325dc5e43 (patch)
treeb183afd2e2a182ed9fa220fbfd48ad67975e9eb4 /migration/multifd.h
parent1943c11a62bd0741e5d9fbba78404fe47ebea820 (diff)
multifd: remove used parameter from send_prepare() method
It is already there as p->pages->num. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/multifd.h')
-rw-r--r--migration/multifd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/migration/multifd.h b/migration/multifd.h
index 86820dd028..7968cc5c20 100644
--- a/migration/multifd.h
+++ b/migration/multifd.h
@@ -159,7 +159,7 @@ typedef struct {
/* Cleanup for sending side */
void (*send_cleanup)(MultiFDSendParams *p, Error **errp);
/* Prepare the send packet */
- int (*send_prepare)(MultiFDSendParams *p, uint32_t used, Error **errp);
+ int (*send_prepare)(MultiFDSendParams *p, Error **errp);
/* Write the send packet */
int (*send_write)(MultiFDSendParams *p, uint32_t used, Error **errp);
/* Setup for receiving side */