diff options
author | Steve Sistare <steven.sistare@oracle.com> | 2024-03-11 10:48:57 -0700 |
---|---|---|
committer | Peter Xu <peterx@redhat.com> | 2024-03-11 16:28:59 -0400 |
commit | a3ed48933659b52f942a677b80b31e4234ddb32f (patch) | |
tree | 91a9345283542968b630dbc22b88ea1e951eae65 /migration | |
parent | 7395127f230abe8065eeec274f106c29a8a4498a (diff) |
migration: delete unused accessors
Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Link: https://lore.kernel.org/r/1710179338-294359-11-git-send-email-steven.sistare@oracle.com
Signed-off-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'migration')
-rw-r--r-- | migration/migration.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/migration/migration.c b/migration/migration.c index 216f63d62b..644e073b7d 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -1548,16 +1548,6 @@ int migration_call_notifiers(MigrationState *s, MigrationEventType type, return ret; } -bool migration_in_setup(MigrationState *s) -{ - return s->state == MIGRATION_STATUS_SETUP; -} - -bool migration_has_finished(MigrationState *s) -{ - return s->state == MIGRATION_STATUS_COMPLETED; -} - bool migration_has_failed(MigrationState *s) { return (s->state == MIGRATION_STATUS_CANCELLED || |