From nobody Tue Feb 10 11:15:38 2026 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1763784350466578.0980504315138; Fri, 21 Nov 2025 20:05:50 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1vMcvk-0001NO-Th; Fri, 21 Nov 2025 21:00:53 -0500 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 1vMc6l-0004ky-KJ; Fri, 21 Nov 2025 20:08:11 -0500 Received: from isrv.corpit.ru ([212.248.84.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1vMc4j-0003Nj-OZ; Fri, 21 Nov 2025 20:08:08 -0500 Received: from tsrv.corpit.ru (tsrv.tls.msk.ru [192.168.177.2]) by isrv.corpit.ru (Postfix) with ESMTP id 27D4716CA5A; Fri, 21 Nov 2025 21:44:24 +0300 (MSK) Received: from think4mjt.tls.msk.ru (mjtthink.wg.tls.msk.ru [192.168.177.146]) by tsrv.corpit.ru (Postfix) with ESMTP id D653F321C96; Fri, 21 Nov 2025 21:44:32 +0300 (MSK) From: Michael Tokarev To: qemu-devel@nongnu.org Cc: qemu-stable@nongnu.org, "Edgar E. Iglesias" , Richard Henderson , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Michael Tokarev Subject: [Stable-10.0.7 31/81] target/microblaze: Remove unused arg from check_divz() Date: Fri, 21 Nov 2025 21:43:30 +0300 Message-ID: <20251121184424.1137669-31-mjt@tls.msk.ru> X-Mailer: git-send-email 2.47.3 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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=212.248.84.144; envelope-from=mjt@tls.msk.ru; helo=isrv.corpit.ru 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZM-MESSAGEID: 1763784352189018900 From: "Edgar E. Iglesias" Remove unused arg from check_divz(). No functional change. Signed-off-by: Edgar E. Iglesias Reviewed-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daud=C3=A9 (cherry picked from commit a04c5ba543c1bc83a25a557e3b62ee811869b373) Signed-off-by: Michael Tokarev diff --git a/target/microblaze/op_helper.c b/target/microblaze/op_helper.c index f6378030b7..85ba8c9b89 100644 --- a/target/microblaze/op_helper.c +++ b/target/microblaze/op_helper.c @@ -70,7 +70,7 @@ void helper_raise_exception(CPUMBState *env, uint32_t ind= ex) cpu_loop_exit(cs); } =20 -static bool check_divz(CPUMBState *env, uint32_t a, uint32_t b, uintptr_t = ra) +static bool check_divz(CPUMBState *env, uint32_t b, uintptr_t ra) { if (unlikely(b =3D=3D 0)) { env->msr |=3D MSR_DZ; @@ -90,7 +90,7 @@ static bool check_divz(CPUMBState *env, uint32_t a, uint3= 2_t b, uintptr_t ra) =20 uint32_t helper_divs(CPUMBState *env, uint32_t a, uint32_t b) { - if (!check_divz(env, a, b, GETPC())) { + if (!check_divz(env, b, GETPC())) { return 0; } return (int32_t)a / (int32_t)b; @@ -98,7 +98,7 @@ uint32_t helper_divs(CPUMBState *env, uint32_t a, uint32_= t b) =20 uint32_t helper_divu(CPUMBState *env, uint32_t a, uint32_t b) { - if (!check_divz(env, a, b, GETPC())) { + if (!check_divz(env, b, GETPC())) { return 0; } return a / b; --=20 2.47.3