From patchwork Wed Sep 11 12:14:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 827431 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp768750wrc; Wed, 11 Sep 2024 05:31:58 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWGpM6vEVo8IMp5oGsFtgKCZi+h+rVelvPldvQWYAiMfQnv+D2ii3x0YoC8w9Jofm1dc5h7HQ==@linaro.org X-Google-Smtp-Source: AGHT+IGFHz12YsZ/mrYZVNCzVyunccR9ly1+GKPbjgn/iSuujIZzujyDTW/n2LPjhIrD1JB9kLRK X-Received: by 2002:a05:6808:130c:b0:3e0:3b7f:ba54 with SMTP id 5614622812f47-3e03b7fbc0bmr10932459b6e.38.1726057918018; Wed, 11 Sep 2024 05:31:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726057917; cv=none; d=google.com; s=arc-20240605; b=BlgB1sNU2j8oa8g2GVsRwwQqzrTg4Wp2wAe3/EWhBQE85/cxkPN1QLyJ4UkVWkFP5Z Ain48uilAqgSmAg1echji4YD/fQMXz+wPvuoG3/iVkf/eoGK4R+VmY2fubx0XNIdyfGm g20Km/ogfQ2EDkdZTCgg9tO/XLs4Fa5Iwsd4GAWxUUUdL/WqkgXfnHWtqRegD1MVSBM6 AnX2gkYivCCMdg7geekzPGg93Ht492nTeOEChNgdtVUzLGXz+4WUlenkGnfBKxK51aDR DZL3I4sX/zfNBTGcRrVq6AG5RQzhLcEcgA9kmRtkeVK3jVn4a4dceVVJZHDNVN/VpH2b Mwpw== 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=tWL345A/XYhwQTujJIR5zrqC0G+dOw0KBObWPjO11Bs=; fh=pgRJImLGStw4JiZaQ8tZ6Gx4wEkoSwwNn1cV112GpBk=; b=g+oVq0Gbobg5M1VDNKQhUNKOwbc774gfR8xzsSZweFcX7nJPWcPm+qoxWaq6VwJi2I x+5w5ezeO5LbRyBTly49rSH9Jj4I80J9jG+o01sjRTwO5zC1yv/Jj4sKs/eRBI9fPWWy DBUMITwqiDBcQPq0AyEN9/VmwEhafzh869FGGkltUugYkbcrkENA62K0L6naClRtrLxJ XjZ0xogcoLyJ3PqFBZhWBcyNHrTK7PmPR+0x2M1U/hkF23MUCmgy5fYoo4FFCsoNkAZc XLQV+xDNKGbvI/YvvTTKyHZWdkHeFZZP0KuYh/iO0LOA/hDgzGijEc9pCWtbVUNL/6Da X2Ww==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=yC2DlJJq; 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 a1e0cc1a2514c-8489ae0e2absi1692485241.217.2024.09.11.05.31.57 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2024 05:31:57 -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=yC2DlJJq; 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 1soMKQ-0005vN-51; Wed, 11 Sep 2024 08:20: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 1soMKO-0005l6-99 for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:20:08 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soMKM-0007vH-Fj for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:20:07 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-42cba0dc922so24694845e9.3 for ; Wed, 11 Sep 2024 05:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726057204; x=1726662004; 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=tWL345A/XYhwQTujJIR5zrqC0G+dOw0KBObWPjO11Bs=; b=yC2DlJJqxXFjA23DLe0hc5xtLnuT2XYfMQ5kNlkPUl9YLU88lQ6+c3eiSTfPUjOyPl CFNJyLrUkLb1bG9SxLEn9ulMqIAuzkqHVflXyAH0HM9kF51tyYrczQd24Mkpf3pWhuse i4aQc3p6e0I6Z3vgDCHaCeKa2uoKz++xV9AzyhAb09bUT+2cMdVQmV+PixLFbpVXh/Tz VHoyirbq6mCe8lQGgCG/B7RDrQPkZysYR8lMN+QuUZgxbQrxkoRvKuUu3+DAmgptmaRY Qk8hkL8Tl0dAebPaS8ZkQjiaM4gIcDQ+xgLJPEo9XqoRLrBEkUiOmVNNZgQqB+V3Q+Kc J8jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726057204; x=1726662004; 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=tWL345A/XYhwQTujJIR5zrqC0G+dOw0KBObWPjO11Bs=; b=njIdqM+MdO+A3x/rCi/QKjgaV/BkWSUShhyCL4Jq3uvKrX0npyD9X79xjxgvYVIhV5 pM7YX9utfHTagq44DkeixuXGm+pWt1P36hUaoTcZQP2AsTUWEoaOsORtZDHHd8q51QR8 Q8NUNH/BFuH8fSq3tvMJMg1LMjA/USHxRKwVwgsNJqaRJzYhrYv8U0JViz0PBNhIWuCI v7ou5rrhi39y39UMeSNSXbngEuUJCTk6sO/stHF8g9ol/KpF2CRWXoYTGMWMWa4xEUoA 0SPhq8VTwo38gD5tZ5JL8fCzocfd8xY8BHoPa6IPoN3xdIN2DElP5tfoDcIl5E/p6teH +SAA== X-Gm-Message-State: AOJu0Yzog63/JxXDWVlcwVF5kIrLqhcQfAcBUpvJAADoFyaCGryGB5iM Gon4Fx8jZ5Wnh/Fudz4gaYitwCaYcQb3cJwGh2igHJ3MkEX/B9dAdl6vsi8Sf2CT47vX49gTjw4 v X-Received: by 2002:a05:600c:4f85:b0:42b:af1c:66e with SMTP id 5b1f17b1804b1-42cad75ff7fmr107503565e9.9.1726057204453; Wed, 11 Sep 2024 05:20:04 -0700 (PDT) Received: from m1x-phil.lan ([176.187.196.107]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-378956652ddsm11522464f8f.29.2024.09.11.05.20.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Sep 2024 05:20:04 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Pierrick Bouvier , Richard Henderson , =?utf-8?q?Philippe_Mathie?= =?utf-8?q?u-Daud=C3=A9?= Subject: [PULL 50/56] hw/misc: remove break after g_assert_not_reached() Date: Wed, 11 Sep 2024 14:14:15 +0200 Message-ID: <20240911121422.52585-51-philmd@linaro.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240911121422.52585-1-philmd@linaro.org> References: <20240911121422.52585-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=philmd@linaro.org; helo=mail-wm1-x331.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=ham 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 From: Pierrick Bouvier Signed-off-by: Pierrick Bouvier Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé Message-ID: <20240910221606.1817478-29-pierrick.bouvier@linaro.org> Signed-off-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 b1def7f05b..fd5d7ce482 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 652395b84f..af2b2b1af3 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; }