From: Zhang Chen <chen.zh...@intel.com> MIGRATION_STATUS_ACTIVE is invalid here, handle it by default case.
Suggested-by: Lukas Straub <lukasstra...@web.de> Signed-off-by: Zhang Chen <chen.zh...@intel.com> --- migration/migration.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 9059238e3d..9958b15202 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -3319,11 +3319,6 @@ static void migration_iteration_finish(MigrationState *s) */ s->vm_was_running = true; /* Fallthrough */ - case MIGRATION_STATUS_ACTIVE: - /* - * We should really assert here, but since it's during - * migration, let's try to reduce the usage of assertions. - */ case MIGRATION_STATUS_FAILED: case MIGRATION_STATUS_CANCELLED: case MIGRATION_STATUS_CANCELLING: -- 2.17.1