From patchwork Tue Sep 10 22:15:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pierrick Bouvier X-Patchwork-Id: 827079 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp530411wrc; Tue, 10 Sep 2024 15:22:53 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVRdAKW8irBXCKtNrQVVRuziaouPSbpVQ5GLI0z1JRE7n+FYdBPFi9tF/cmBWS4+33WaknS/g==@linaro.org X-Google-Smtp-Source: AGHT+IGj0bNwoQozmYTMi8YVPMj8djvtrxMhFnF9NazwKLvE2KzEVYRSYtGdZd3T99eP06CdRhDj X-Received: by 2002:a05:622a:1b87:b0:458:2f54:3bb5 with SMTP id d75a77b69052e-4582f543ec7mr165614791cf.7.1726006973661; Tue, 10 Sep 2024 15:22:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726006973; cv=none; d=google.com; s=arc-20240605; b=FiI7aQZL+qzegi1KWrwqiINUhACO2KUc3zO0mfl4U4ErPzaMlDJK60GtX5gNisHaSG 9rRd0JvLqtoM5AzLXgGiEyffxZ4ksdr1MPJjRRBkhhQcqPthGu8/OaxPyKPEw+GBo1qJ QNRWgwme6F14AG8sApmK0bk0S1LJBlVf1fMI743IaULW0gczTSGXM3ad1u3fuWqGzzgb Vy81EM/W/s5lnrrPpXIkoDv6d3S3mFup9l3EWGXo0vj+cBwjHaORtKyoWo8HFlcWVUIt 0le2zZeQwntST8ofHu+09wSF+7tmqV148CNu5k6Fhayk4pm3fO9C6hOBf0uilDgUGoUp vZRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qUh9IHgCF2MhxdXEfEudgW9+CnpXzCptLVYaeGylPlo=; fh=ynTlK/oH/ur5RqvPhczOwhj4YatH1hTHyPq9uMdf314=; b=AJZk1jST3+iTC2jdqOrN+wHrq5xMH9floG+diJF/ZGL1IuPAumeI28EYT0otF36vfg dCVsxtdqdAhAAiQlXXAGZJuStLFdvBEeBqK0EqcnxV7q6expkLc3JkFCBSL1AgsuPXtp DPT0U7E59ENPinCUaW7R6HrmZNZ++7XQLLW7bgm45tk3p47T+DAWDcdGxQV/nMrDg2Bh qpVR4saNw598tdRnjBPnG01iIZoqYpKN65K7GjpJhBflVOoEHoCafV/L7SHeD5N3kzsv ALUgxAvK0Tvnpa5t2wPifhnq+82peM4gIfNpILyB4qBWXZRAg9i8wYYd2kDRmPh9mong Hl+Q==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WM2TZoje; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-7a9a7a55b62si894082585a.564.2024.09.10.15.22.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Sep 2024 15:22:53 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WM2TZoje; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1so9Ba-0001T6-IM; Tue, 10 Sep 2024 18:18:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1so9BH-0007TE-I3 for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:51 -0400 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1so9BC-0006y1-OI for qemu-devel@nongnu.org; Tue, 10 Sep 2024 18:17:50 -0400 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-7184a7c8a45so3839491b3a.0 for ; Tue, 10 Sep 2024 15:17:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726006665; x=1726611465; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=qUh9IHgCF2MhxdXEfEudgW9+CnpXzCptLVYaeGylPlo=; b=WM2TZojeGwnbyGL0FDN0UZsG9vrfmYolsgbHhUmybOzmA/YGpkArD9Kt2wM7LNa+3/ rSpjml08mMn3wtoY1h8p3jlZLB5v4T8t7Pj3Z4Q8ppFQnjzC2YDUW5lxBgDZ63oSrJvs Sd1zv87wvnl9zbYt/4vbb6N9nlmMfMkoBJ4ojLK70vGprFT6rvy68RK+671TIc7MaWkT 2Jm4pLqRXzbej2RPnDLPtK3DyrgHe2KYk6jVMNXSfM971Vvf9VVfe8JWxe+m+UWozoQ6 4Ls1UgGlj26PU0s1BofFeJdhzxhj6VVIwyCcfn87mCLevSHRHiIVEDRQmL0IAELZSjRv sH5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726006665; x=1726611465; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qUh9IHgCF2MhxdXEfEudgW9+CnpXzCptLVYaeGylPlo=; b=D19DOPU+YIJRUYCzCR207QH7gb6TXKsGTc9WvFiyzJlCFpoAb5TyBA8gFGbMjJYasP nYsbyPS4nvSIODJ42VV+Ir9ZNli0AeczewuG6X8Nlc/gRUt+mPsJe0cQQa6kjGJ33awO RsN225y9WLjLHVfHLXiwV8IPH/OdvzYUZKtaq9bdhkMR8V2NYzyTP9XW9AmEeZOJj60V Vv0BPp5tr7KnLUWOS2pj27ih0neVW6AxK/rATY+HB9DUFlCynVtZrJ9MzltBHoG1gYar rR2CDbZpEySLiMezTiDAUUfEqW+WuD3on/2/tumLKZ9rNfyWikwsV/fnCmDF51wU6a0l XJDw== X-Gm-Message-State: AOJu0YzYs9T8t+pxRrmRXhF0YF9EtGKw9+3IgWYY84dZpN3j/ZAQDdpL YI4I2Fjx6TUBGhq2UCECjGUQwKVf1iA3AOT3gdA1LCyvNRw2g6uReFK61j9WkP/KNr1ElOvden8 e2gYHq8rI X-Received: by 2002:a05:6a00:17a9:b0:70d:2e7e:1853 with SMTP id d2e1a72fcca58-718d5ef956cmr27062604b3a.19.1726006665231; Tue, 10 Sep 2024 15:17:45 -0700 (PDT) Received: from linaro.vn.shawcable.net ([2604:3d08:9384:1d00::9633]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71909003d0esm1884055b3a.93.2024.09.10.15.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Sep 2024 15:17:44 -0700 (PDT) From: Pierrick Bouvier To: qemu-devel@nongnu.org Cc: Zhao Liu , "Richard W.M. Jones" , Joel Stanley , Kevin Wolf , Paolo Bonzini , qemu-arm@nongnu.org, Corey Minyard , Eric Farman , Thomas Huth , Keith Busch , WANG Xuerui , Hyman Huang , Stefan Berger , Michael Rolnik , Alistair Francis , =?utf-8?q?Marc-Andr=C3=A9_Lure?= =?utf-8?q?au?= , Markus Armbruster , Sriram Yagnaraman , Palmer Dabbelt , qemu-riscv@nongnu.org, Ani Sinha , Halil Pasic , Jesper Devantier , Laurent Vivier , Peter Maydell , Igor Mammedov , kvm@vger.kernel.org, =?utf-8?q?Alex_Be?= =?utf-8?q?nn=C3=A9e?= , Richard Henderson , Fam Zheng , qemu-s390x@nongnu.org, Hanna Reitz , Nicholas Piggin , Eduardo Habkost , Laurent Vivier , Rob Herring , Marcel Apfelbaum , qemu-block@nongnu.org, "Maciej S. Szmigiero" , qemu-ppc@nongnu.org, Daniel Henrique Barboza , Christian Borntraeger , Harsh Prateek Bora , =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= , Nina Schoetterl-Glausch , "Michael S. Tsirkin" , Fabiano Rosas , Helge Deller , Dmitry Fleytman , Daniel Henrique Barboza , Akihiko Odaki , Marcelo Tosatti , David Gibson , Aurelien Jarno , Liu Zhiwei , Yanan Wang , Peter Xu , Bin Meng , Weiwei Li , Klaus Jensen , Jean-Christophe Dubois , Jason Wang , Pierrick Bouvier Subject: [PATCH 28/39] hw/misc: remove break after g_assert_not_reached() Date: Tue, 10 Sep 2024 15:15:55 -0700 Message-Id: <20240910221606.1817478-29-pierrick.bouvier@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240910221606.1817478-1-pierrick.bouvier@linaro.org> References: <20240910221606.1817478-1-pierrick.bouvier@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=pierrick.bouvier@linaro.org; helo=mail-pf1-x429.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- hw/misc/imx6_ccm.c | 1 - hw/misc/mac_via.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/hw/misc/imx6_ccm.c b/hw/misc/imx6_ccm.c index b1def7f05b9..fd5d7ce4828 100644 --- a/hw/misc/imx6_ccm.c +++ b/hw/misc/imx6_ccm.c @@ -301,7 +301,6 @@ static uint64_t imx6_analog_get_periph_clk(IMX6CCMState *dev) default: /* We should never get there */ g_assert_not_reached(); - break; } trace_imx6_analog_get_periph_clk(freq); diff --git a/hw/misc/mac_via.c b/hw/misc/mac_via.c index 652395b84fc..af2b2b1af3d 100644 --- a/hw/misc/mac_via.c +++ b/hw/misc/mac_via.c @@ -495,7 +495,6 @@ static void via1_rtc_update(MOS6522Q800VIA1State *v1s) break; default: g_assert_not_reached(); - break; } return; } @@ -556,7 +555,6 @@ static void via1_rtc_update(MOS6522Q800VIA1State *v1s) break; default: g_assert_not_reached(); - break; } return; }