From nobody Wed Nov 27 18:56:27 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=1697568946; cv=none; d=zohomail.com; s=zohoarc; b=j4+tExv9aCvS1TEvemimf5N44VRSTq6Z/lypA98Il05LaQIh2fzDi+G7mwhxHypblkmXtqKxO09ejO80CoTmQF8d/Iu4QtScxF7HhHM1IJXB4z9G8g2OSfWWJeb1XLvwHND9TTmAQwH0b8EhlTdgGBcofiBze+yDcmpNDWTM+es= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1697568946; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:Message-Id:Reply-To:To; bh=PVVhU7FVBGv/xT5QVrpV2Z6/BYaCzW+7Ey07YWq/aa8=; b=IIR9aT3Y0CVM2lSHxRNHji1pvId5vno1Y3+0kDqLN2sSoENDIWU7mHSPTFnx6DCf0OLG5GHFnFWmUUHFl9bPHxoA5rSmn5WWp8hST/zlBh1+xjYkvXq/CSO3GwxhYFTGjPmGHDNC377n2tcfIqKIL2TsIg8rQyRrZBp/SS1SAeY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1697568946635692.5108820458701; Tue, 17 Oct 2023 11:55:46 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qspDI-0001Jd-Qn; Tue, 17 Oct 2023 14:54:44 -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 1qspDH-0001JQ-1B for qemu-devel@nongnu.org; Tue, 17 Oct 2023 14:54:43 -0400 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qspDF-00073C-JU for qemu-devel@nongnu.org; Tue, 17 Oct 2023 14:54:42 -0400 Received: by mail-pl1-x630.google.com with SMTP id d9443c01a7336-1ca3a54d2c4so27128025ad.3 for ; Tue, 17 Oct 2023 11:54:41 -0700 (PDT) Received: from localhost ([2400:4050:a840:1e00:78d2:b862:10a7:d486]) by smtp.gmail.com with UTF8SMTPSA id p12-20020a170902bd0c00b001b850c9d7b3sm1922162pls.249.2023.10.17.11.54.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Oct 2023 11:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daynix-com.20230601.gappssmtp.com; s=20230601; t=1697568880; x=1698173680; 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=PVVhU7FVBGv/xT5QVrpV2Z6/BYaCzW+7Ey07YWq/aa8=; b=SjJkf1eXCLJtutmLcwcd0Z05Q8PhJPz50CwP5G+x0EH+zvUg57Itgvi3d7b/n+WG6h bL2T0iFMAYviP2Pkf4s3Z3vVH3pJHm291/bsz9Ckhhg2sOz9nmRwsxuJnocS+vYXJnef aP1oRFzpopmlEgz062/yMIr6ETauf9IJbVB51/dy+9FLW+OKH7ch5WtlYqOTUnb9X92A 4pIzAlYJOAv9gnwhIO0foIaa7lU4gR3vNo+Qp+PjuZJrwkPxHBj/Lhor90nxFe4WBB/q aEJh8fgiAIn80d1aBbMV9klQi2E6llyImWAQ6KK+7I2MYDMmE0O8OASriyrEX7Ey8o3p 3lOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697568880; x=1698173680; 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=PVVhU7FVBGv/xT5QVrpV2Z6/BYaCzW+7Ey07YWq/aa8=; b=le/Hha/YvNRjP6pMyL1xk/fGIczU0hHg0zj9oINmVC9CogtQhnPZnXST/0XvcR+JZl Lk2Ng9OO1xGOr+0nlN6W7WYE6cFWwC7wYTBLoBLFpxpudE8g/VTGjXvgQ4MsgNfmrTuE V/8JSFO11B6W12/XyLZnZVB0Z6mKnIIvoZD4csIKN8a4089FprtGZAetOBkpt76JjO1u DDGOkaBw0TbAjrsLpzx1JlbnR6HxK16lQnkvA8vFYZZbZ366H6TLF4gUR6V+lk5qdxmF jCt8JSwuGFkTVQKliKu2ZKdncxtfN9yew7/I8iwKyhC774Y0B9JcKRdRBhQIP9tbUVZM LvgA== X-Gm-Message-State: AOJu0Yxx9AqhDsVMMwoJ6YeQXRqaEZOEjNv/c7N9aqHS3wJO7usA8Eyh jr0EHBj+b4LfJ5SnCvJc+lhMoA== X-Google-Smtp-Source: AGHT+IHgQvVmJXGe1R7E8zQmXdofaVO3FoWXWum62jmVhj6zQzjam3VZdQFUiiLWq92Kx3n88mHZVg== X-Received: by 2002:a17:902:e80a:b0:1c9:ff46:163d with SMTP id u10-20020a170902e80a00b001c9ff46163dmr3908278plg.38.1697568880368; Tue, 17 Oct 2023 11:54:40 -0700 (PDT) From: Akihiko Odaki To: Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= , Mikhail Tyutin , Aleksandr Anenkov , qemu-devel@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Fabiano Rosas , Akihiko Odaki , Richard Henderson , Paolo Bonzini Subject: [PATCH v4 5/5] plugins: Remove an extra parameter Date: Wed, 18 Oct 2023 03:54:00 +0900 Message-ID: <20231017185406.13381-6-akihiko.odaki@daynix.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20231017185406.13381-1-akihiko.odaki@daynix.com> References: <20231017185406.13381-1-akihiko.odaki@daynix.com> MIME-Version: 1.0 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: none client-ip=2607:f8b0:4864:20::630; envelope-from=akihiko.odaki@daynix.com; helo=mail-pl1-x630.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @daynix-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1697568948634100011 Content-Type: text/plain; charset="utf-8" copy_call() has an unused parameter so remove it. Signed-off-by: Akihiko Odaki --- accel/tcg/plugin-gen.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/accel/tcg/plugin-gen.c b/accel/tcg/plugin-gen.c index 39b3c9351f..78b331b251 100644 --- a/accel/tcg/plugin-gen.c +++ b/accel/tcg/plugin-gen.c @@ -327,8 +327,7 @@ static TCGOp *copy_st_ptr(TCGOp **begin_op, TCGOp *op) return op; } =20 -static TCGOp *copy_call(TCGOp **begin_op, TCGOp *op, void *empty_func, - void *func, int *cb_idx) +static TCGOp *copy_call(TCGOp **begin_op, TCGOp *op, void *func, int *cb_i= dx) { TCGOp *old_op; int func_idx; @@ -372,8 +371,7 @@ static TCGOp *append_udata_cb(const struct qemu_plugin_= dyn_cb *cb, } =20 /* call */ - op =3D copy_call(&begin_op, op, HELPER(plugin_vcpu_udata_cb), - cb->f.vcpu_udata, cb_idx); + op =3D copy_call(&begin_op, op, cb->f.vcpu_udata, cb_idx); =20 return op; } @@ -420,8 +418,7 @@ static TCGOp *append_mem_cb(const struct qemu_plugin_dy= n_cb *cb, =20 if (type =3D=3D PLUGIN_GEN_CB_MEM) { /* call */ - op =3D copy_call(&begin_op, op, HELPER(plugin_vcpu_mem_cb), - cb->f.vcpu_udata, cb_idx); + op =3D copy_call(&begin_op, op, cb->f.vcpu_udata, cb_idx); } =20 return op; --=20 2.42.0