migration/migration.c: Remove superfluous breaks
PATCH 1/1 migration/migration.c: Remove superfluous breaks
From: Liao Pingfang <[email protected]>
Remove superfluous breaks, as there is a "return" before them.
Signed-off-by Liao Pingfang <[email protected]>
--- migration/migration.c | 2 -- 1 file changed, 2 deletions(-)
migration/migration.c +0 -2
@@ -985,7 +985,6 @@ static void fill_source_migration_info(MigrationInfo *info)/* no migration has happened ever */ /* do not overwrite destination migration status */ return ; -break ;case MIGRATION_STATUS_SETUP : info->has_status = true; info->has_total_time = false;
@@ -1104,7 +1103,6 @@ static void fill_destination_migration_info(MigrationInfo *info)switch (mis->state) {case MIGRATION_STATUS_NONE :return ; -break ;case MIGRATION_STATUS_SETUP :case MIGRATION_STATUS_CANCELLING :case MIGRATION_STATUS_CANCELLED :
Signature · 1 line
2.9.5
Quoted 8 lines · Yi Wang
From: Liao Pingfang <[email protected]>
Remove superfluous breaks, as there is a "return" before them.
Signed-off-by Liao Pingfang <[email protected]>--- migration/migration.c | 2 -- 1 file changed, 2 deletions(-)
Cc qemu-trivial
Reviewed-by Richard Henderson <[email protected]>
r~