From patchwork Wed Sep 11 12:14:14 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: 827426 Delivered-To: patch@linaro.org Received: by 2002:adf:ab1c:0:b0:367:895a:4699 with SMTP id q28csp766775wrc; Wed, 11 Sep 2024 05:27:23 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWDUJhoEIM2K2+zh+o5hV0UINNf4uYm2V97VPIP2+3B8k9SZ1paFnVqkKCBV02fFfVpcbCo7A==@linaro.org X-Google-Smtp-Source: AGHT+IHR2v1WYHEuGogeI6sZ3wNGcoUl/MwREsFjd546Ud+2hFB363KKMluqi+F/byPyl2NEqbkQ X-Received: by 2002:a05:6214:3c8f:b0:6c3:59ce:d0fd with SMTP id 6a1803df08f44-6c52850dabamr239863386d6.48.1726057643270; Wed, 11 Sep 2024 05:27:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1726057643; cv=none; d=google.com; s=arc-20240605; b=bIbyto+kIyuYLHq23UgIOo7ogwBCYM0N6bbotrwrbZrRcDbtnQ6okkioOnHEx80Shc Ce9Wa6YUOyDK7gyln0sRRx29z/HAbWJJRnYNZiVboF1mlyrqoi31F/vQ8oQJPuFb7+AF Ygs6TvgBTrn0VqpRf7VzIZiGFYSLv6iKi2Gk6yxfdrQ4Vr/l/AIXfldGorKT7Do+CLoZ hNGDKCgo36qTTm9ZtOjpo3KcYrh5ye973NFDY1FLZmL+upIkywNC+M5/8UsJMaGZHR4i bq1/UxioJTqbtaG0GkjJ4ZoZiiYPQgUIColtRUGzwz92m1OwlZNGSSFXALNBj9kYMYMO 4VoA== 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=6lvY3blw8taGOv8uMXjSI2k81UcYL/RQBV/M9VGn4cw=; fh=pgRJImLGStw4JiZaQ8tZ6Gx4wEkoSwwNn1cV112GpBk=; b=dA9ooN8M35XJWVf+5IYA3vatfccsRy1DwY07dP4NNOgI2arvjM5M/3HDtdQ1dSNzLk rn1EbgyyQMiHlGVRaHUKCifBc4j/QHlZQShDZjDyOFkM8wDL0RwQZZsWUTg+oehNoSQH QarhOOtCndhMcyRg7nUC04EU6CYj6XBR7SLYPyK/+ZLWzgHiKCA1R4gzkuoWQe1YbKa8 Cq9u+dML6EA8wo7/PlBlLYacW12rwK84Aej+9z0Db+/K3w2sHW8rLPQHX19wM/vrnOdh AsHnPtUTAKFX3O2GPzWHDYE7QKTwDEj06/Tmp3Zl7pLvGNBZbQnxcsyglrFsjOYz25r+ aikg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=e1bQHUD1; 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 6a1803df08f44-6c53433fed7si102770136d6.175.2024.09.11.05.27.23 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 11 Sep 2024 05:27:23 -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=e1bQHUD1; 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 1soMKK-0005Vp-AD; Wed, 11 Sep 2024 08:20:04 -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 1soMKI-0005QN-D0 for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:20:02 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1soMKG-0007jp-Lu for qemu-devel@nongnu.org; Wed, 11 Sep 2024 08:20:02 -0400 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-374c8cef906so4598120f8f.2 for ; Wed, 11 Sep 2024 05:20:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1726057199; x=1726661999; 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=6lvY3blw8taGOv8uMXjSI2k81UcYL/RQBV/M9VGn4cw=; b=e1bQHUD1ApJ1QYEpee2yJW81zW+yuze7N1hebfppSraE4fuMiBSiGQIfKcmoMH+xY/ ugSrpETbWUf5AbZHBqq/bI1eDhR/2pJvYdOHvnIF7w+iMJczZnps6JgF9kpJZbj5ntvL b0r5c/Ttp5jtaGLHbDd36L4kY6o2nR2q23V6EggoI/+qd2ByHq6LtJEwc5QFO9zb3K7m 6k8x+D0RGCEfB5TpZktEGKTKNHWPVGlvruY0eHmjfja7KHDUBcewmqBKXrc6MpHmbPPU xc0lQe0Y0q7yQjjSSw/DI854HdMKByqs5Ug+nUyqZlLlGQ+ERZAIG67OBL/GEZlumbb8 jP8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726057199; x=1726661999; 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=6lvY3blw8taGOv8uMXjSI2k81UcYL/RQBV/M9VGn4cw=; b=ApdA+Bal80qdl3ZI7dEOO94GQOhIibXNawH+OaMJfbC/8HHp/9swuZkZhe1Z7I5JRy NdEiEyQsRv3mEN3SlMTDbSorcmcKtdgHxWDLlBBViJq4jsO0mZWhFyKil0pS1LoLxMBy 0h140D4OqFaqRXsdpshMcF57/87MddtEiCb4yJrqPnLMLlY1OKxn48luC3uvfxdDHJpR AzPnxUCunC1r8n5C51dDLOqJnOumVoizmxXi7nJR2x+obIbYqa7cWgdDh0+q+gNsZnFe i+f2ZIkjuOJbvgSzeHFxfHAgFJUrDd9znLpH+6cyUGTn4+QSzx9AtuwLh2btPdIqVDuK UKMw== X-Gm-Message-State: AOJu0YzGX9NdY53Dz5Y70rWly5Q1eQLCVF1bl39JJy5XDP0eliYS6BcK YYCBrhGY6zCWeflRVZyD4M22wn3so7Ou7akbASIbVMBibJ4xlcw91XJEVyqHW7FRhQ2MIOgXXhe I X-Received: by 2002:adf:f089:0:b0:374:be28:d808 with SMTP id ffacd0b85a97d-378895cafdamr10872025f8f.20.1726057198776; Wed, 11 Sep 2024 05:19:58 -0700 (PDT) Received: from m1x-phil.lan ([176.187.196.107]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-37895649701sm11371421f8f.14.2024.09.11.05.19.57 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Wed, 11 Sep 2024 05:19:58 -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 49/56] hw/gpio: remove break after g_assert_not_reached() Date: Wed, 11 Sep 2024 14:14:14 +0200 Message-ID: <20240911121422.52585-50-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::42a; envelope-from=philmd@linaro.org; helo=mail-wr1-x42a.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-28-pierrick.bouvier@linaro.org> Signed-off-by: Philippe Mathieu-Daudé --- hw/gpio/nrf51_gpio.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/gpio/nrf51_gpio.c b/hw/gpio/nrf51_gpio.c index ffc7dff796..f259be651e 100644 --- a/hw/gpio/nrf51_gpio.c +++ b/hw/gpio/nrf51_gpio.c @@ -40,7 +40,6 @@ static bool is_connected(uint32_t config, uint32_t level) break; default: g_assert_not_reached(); - break; } return state;