From nobody Sat May 18 09:22:56 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1594600413; cv=none; d=zohomail.com; s=zohoarc; b=facS8m2QH1dSaLaW5zRxvyjbSksaW/DtJfuKTpF8HTEUx2wCrpwSEdsKj+6ahxvOIJfvsgvjnwmvzwN4wG5g7d3qLHADW+IOd3ccTCeMzaYaQXyhYLi+nbGa3U2fXHjHEq+k7IKP6KMMG/VNwXAZA/NbeaZjjGoyjuasr1v3GLs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594600413; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=I68C6QF922jyM3TshCSkMelVwvx7N2srNLD4W6V8OEY=; b=B+bxV7yMuBnzuyV4tYzkS91a/dtV/mIIQyuqlqgvwK3xJkI/pFxcpF8iJLmXovsau6LEWWjBu8AuFwQ3WLOiXrzlpb6W581PMJjCfb7MepdsMq1YQMR6NeuRrrk2EVwl9iNuAOx23PBgrDKiDC59n0LeT7p68YccC3qsCjo8BPg= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1594600413102334.34296444879465; Sun, 12 Jul 2020 17:33:33 -0700 (PDT) Received: from localhost ([::1]:60364 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jumPT-0001ld-Uq for importer@patchew.org; Sun, 12 Jul 2020 20:33:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jumNH-0006Du-VQ for qemu-devel@nongnu.org; Sun, 12 Jul 2020 20:31:16 -0400 Received: from out1.zte.com.cn ([202.103.147.172]:59065 helo=mxct.zte.com.cn) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jumNF-0004gJ-Qm for qemu-devel@nongnu.org; Sun, 12 Jul 2020 20:31:15 -0400 Received: from mse-fl1.zte.com.cn (unknown [10.30.14.238]) by Forcepoint Email with ESMTPS id 81053FA6CE08E62200B2 for ; Mon, 13 Jul 2020 08:31:11 +0800 (CST) Received: from notes_smtp.zte.com.cn (notes_smtp.zte.com.cn [10.30.1.239]) by mse-fl1.zte.com.cn with ESMTP id 06D0UfQu001809 for ; Mon, 13 Jul 2020 08:30:41 +0800 (GMT-8) (envelope-from wang.yi59@zte.com.cn) Received: from fox-host8.localdomain ([10.74.120.8]) by szsmtp06.zte.com.cn (Lotus Domino Release 8.5.3FP6) with ESMTP id 2020071308304328-4262425 ; Mon, 13 Jul 2020 08:30:43 +0800 From: Yi Wang To: qemu-devel@nongnu.org Subject: [PATCH] migration/migration.c: Remove superfluous breaks Date: Mon, 13 Jul 2020 08:33:53 +0800 Message-Id: <1594600433-23107-1-git-send-email-wang.yi59@zte.com.cn> X-Mailer: git-send-email 1.8.3.1 X-MIMETrack: Itemize by SMTP Server on SZSMTP06/server/zte_ltd(Release 8.5.3FP6|November 21, 2013) at 2020-07-13 08:30:43, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2020-07-13 08:30:42, Serialize complete at 2020-07-13 08:30:42 X-MAIL: mse-fl1.zte.com.cn 06D0UfQu001809 Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=202.103.147.172; envelope-from=wang.yi59@zte.com.cn; helo=mxct.zte.com.cn X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/12 20:30:43 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: wang.yi59@zte.com.cn, Liao Pingfang , wang.liang82@zte.com.cn, xue.zhihong@zte.com.cn Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Liao Pingfang Remove superfluous breaks, as there is a "return" before them. Signed-off-by: Liao Pingfang Reviewed-by: Richard Henderson --- migration/migration.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/migration/migration.c b/migration/migration.c index 92e44e0..2fd5fbb 100644 --- a/migration/migration.c +++ b/migration/migration.c @@ -985,7 +985,6 @@ static void fill_source_migration_info(MigrationInfo *i= nfo) /* no migration has happened ever */ /* do not overwrite destination migration status */ return; - break; case MIGRATION_STATUS_SETUP: info->has_status =3D true; info->has_total_time =3D false; @@ -1104,7 +1103,6 @@ static void fill_destination_migration_info(Migration= Info *info) switch (mis->state) { case MIGRATION_STATUS_NONE: return; - break; case MIGRATION_STATUS_SETUP: case MIGRATION_STATUS_CANCELLING: case MIGRATION_STATUS_CANCELLED: --=20 2.9.5