From nobody Sat May 18 06:31:25 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=1594600662; cv=none; d=zohomail.com; s=zohoarc; b=cmnMtApJwhwL4h2kourYXqWv03JmRNWvUhVwEqvbhlhiVfnL24eR1Zp8LYljAxgtErmppQB3AB0/qwnq8nqKyOFD7eqrT1DTdc9yc1SqEVJTQyWmEVLra5dy1d8CvfgKQlJV6vp9dhUaJY9M5lsRA/w2UgOnCpnAAD8FdZTBkVM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594600662; h=Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:Message-ID:Sender:Subject:To; bh=LX9ooM9p9YeXESV2eT0fe5fgqtzvwhFma++HetuLOXI=; b=Dn9eqkY2VyXGUgkb9FlGVsB+di1Jt4+2t+Ms5WCsnMPRE3lckHZK+pzqRYU4V0MxIG3mENyJ8jVPQDwgLKnoPvQ5V/Y0d2wAtr8IKBlZMg6ENpkmRPwxLuFJmVKbBliWNXslsec6yCUhvRZ5bnQMJXLcXO5iLoNZI/gyxWqv6og= 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 1594600662539431.63276894570276; Sun, 12 Jul 2020 17:37:42 -0700 (PDT) Received: from localhost ([::1]:47700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jumTU-0008A4-LN for importer@patchew.org; Sun, 12 Jul 2020 20:37:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jumNJ-0006Ip-H7 for qemu-devel@nongnu.org; Sun, 12 Jul 2020 20:31:17 -0400 Received: from mx7.zte.com.cn ([202.103.147.169]:44521 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 1jumNH-0004gT-MJ for qemu-devel@nongnu.org; Sun, 12 Jul 2020 20:31:17 -0400 Received: from mse-fl1.zte.com.cn (unknown [10.30.14.238]) by Forcepoint Email with ESMTPS id A77D45581A2B1A425BCF for ; Mon, 13 Jul 2020 08:31:12 +0800 (CST) Received: from notes_smtp.zte.com.cn (notessmtp.zte.com.cn [10.30.1.239]) by mse-fl1.zte.com.cn with ESMTP id 06D0UuqX002591 for ; Mon, 13 Jul 2020 08:30:56 +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 2020071308305806-4262430 ; Mon, 13 Jul 2020 08:30:58 +0800 From: Yi Wang To: qemu-devel@nongnu.org Subject: [PATCH] target/openrisc: Remove superfluous breaks Date: Mon, 13 Jul 2020 08:34:08 +0800 Message-Id: <1594600448-23328-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:58, Serialize by Router on notes_smtp/zte_ltd(Release 9.0.1FP7|August 17, 2016) at 2020-07-13 08:30:57, Serialize complete at 2020-07-13 08:30:57 X-MAIL: mse-fl1.zte.com.cn 06D0UuqX002591 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.169; 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:31 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: Philippe Mathieu-Daud=C3=A9 --- target/openrisc/sys_helper.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target/openrisc/sys_helper.c b/target/openrisc/sys_helper.c index d9fe6c5..d9691d0 100644 --- a/target/openrisc/sys_helper.c +++ b/target/openrisc/sys_helper.c @@ -289,10 +289,8 @@ target_ulong HELPER(mfspr)(CPUOpenRISCState *env, targ= et_ulong rd, =20 case TO_SPR(5, 1): /* MACLO */ return (uint32_t)env->mac; - break; case TO_SPR(5, 2): /* MACHI */ return env->mac >> 32; - break; =20 case TO_SPR(8, 0): /* PMR */ return env->pmr; --=20 2.9.5