diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-17 17:15:02 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-06-13 11:00:44 +0200 |
commit | 543147116e40edcc6ccfc51e7b05a8a8934b48b5 (patch) | |
tree | b35e627381e294d58741f1f28fcbfca19de7dbb0 /migration/channel.h | |
parent | c8f9f4f402dabeec88d2f5e21e54a88021b2eeee (diff) |
migration: Remove MigrationState from migration_channel_incomming()
All callers were calling migrate_get_current(), so do it inside the function.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'migration/channel.h')
-rw-r--r-- | migration/channel.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/migration/channel.h b/migration/channel.h index 2e0a7e33cc..e4b40579a1 100644 --- a/migration/channel.h +++ b/migration/channel.h @@ -18,8 +18,7 @@ #include "io/channel.h" -void migration_channel_process_incoming(MigrationState *s, - QIOChannel *ioc); +void migration_channel_process_incoming(QIOChannel *ioc); void migration_channel_connect(MigrationState *s, QIOChannel *ioc, |