From nobody Wed Nov 27 14:37:45 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; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1698489702; cv=none; d=zohomail.com; s=zohoarc; b=OuAv0suZ6XIBUFWZ2R7DAxIiAYt93PntD0IUHVSmc1s/uomq1ljexb46KwYE9pEPxM44Z/zvyLM/bV03sOFL4HC0eezGx/aCq634o5nd/Ih0myiCVFDAijcR4nH3XDEmnx2BvzRl+eXo2/BzM083Bhh0KKxGznXkbIma8I6FQ20= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698489702; 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:To:To:Message-Id:Reply-To; bh=QTP++EEXZ2TTOVv8m/MeR1w9h8DFHpGwGpQkFcD2Z0c=; b=QCMWrDSYP22WkSfmpb25VFF3POzfIGxboKdDv2X8NK9CrJuoXZln1dd/y1PZ1CrG/DWd16br7CwEuQrr9JdlCnfgTJg9YVMfcq8JfgEoOnUv2x2vE9x0BI/odVusaeHxzmLUh3lNXAQ9+eXeavWHNijO9HMgyrewNfcgUp/fisw= 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1698489702680292.25113645402985; Sat, 28 Oct 2023 03:41:42 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qwgko-0003nY-Qx; Sat, 28 Oct 2023 06:41:18 -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 1qwgkj-0003eS-JL for qemu-devel@nongnu.org; Sat, 28 Oct 2023 06:41:13 -0400 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qwgkg-00057l-MH for qemu-devel@nongnu.org; Sat, 28 Oct 2023 06:41:13 -0400 Received: by mail-wr1-x42b.google.com with SMTP id ffacd0b85a97d-3296b3f03e5so1965167f8f.2 for ; Sat, 28 Oct 2023 03:41:09 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id p14-20020a5d68ce000000b003253523d767sm3576841wrw.109.2023.10.28.03.41.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Oct 2023 03:41:08 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 90B645F7A5; Sat, 28 Oct 2023 11:33:13 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698489668; x=1699094468; 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=QTP++EEXZ2TTOVv8m/MeR1w9h8DFHpGwGpQkFcD2Z0c=; b=GLW66tTUEx5zbMwHOySttm1Df2eF/6ecukP56NqYWS6nw3V4j2r+w1ru7erk6SqV8/ YCC+BnTvipDKSPhMQHfLqyrGcSTtMtsAC63NWMya832gMavVsMok6oj22NdWAX/kASP/ zl9w1YGpMv4x5uurFOzxG8HIvMdaJaIiv1MQjT/3dUZg6xm0XlOc8VzBkRWpTMCsZRH2 Lp7CWt+/3PHw0MJavwdDsRHzhYFSo1tngrvrq4gGZjmcnbga+IlGVZ5+RdAyrDK5sBBR U63qPhe3Do+0Bdviuygr1XmUmZGHUBRGnX5Lo9Z0rsyXG7nzuz4FtD85vp+G7ziXjKpi BwOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698489668; x=1699094468; 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=QTP++EEXZ2TTOVv8m/MeR1w9h8DFHpGwGpQkFcD2Z0c=; b=vCcg5Ewr2s+JrA0G1RV4vkS5UkpC5BgdOtet9cAIyaTTGx3wSvyiC2NoxTcwEOS84S ylXbdUOTcJw39ZhEhmGYaHx4Zl8aWNfTMJeOaAmcylsB05oYXaTR0JxWR7EeCwtlSxNj /VofankYIXuWKEjZGu0duZVQ2YW2m7jv/0sB9dtCzBTy4NYAj3BT7EoJfEFmSluyICHz ShCP5IrJa20Y2StnzAYzKsjFGzXYTGnP6efzNTYyYXmGZJ8gFXnY/i52BoxSlWm7TyWP z67yNyujB7nCtlX5Iy1rgDy3OzWsEKlkoaabO6vvjvhnTXoFkuijmMP5WKzojejTruif w4eg== X-Gm-Message-State: AOJu0Yxq/aqfWlwcnMryjgBPAWVqQ5OXAa6rEmgFULC5+KtP9VScA5JM 07/uWzEfsjANwQuXadk/mRgr0w== X-Google-Smtp-Source: AGHT+IGsCTQeeRaFQfL9sqCuhuffzr3clOjSpLEHTH3gQ68lTkULHzl8vsUn3ZPhC92OpOcfK6Ol3Q== X-Received: by 2002:a05:6000:178f:b0:32f:7f43:1cf4 with SMTP id e15-20020a056000178f00b0032f7f431cf4mr240231wrg.60.1698489668592; Sat, 28 Oct 2023 03:41:08 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Beraldo Leal , Mahmoud Mandour , Brian Cain , Paolo Bonzini , Warner Losh , Eduardo Habkost , Alexandre Iooss , "Edgar E. Iglesias" , Kyle Evans , qemu-arm@nongnu.org, Aleksandar Rikalo , Aurelien Jarno , =?UTF-8?q?Alex=20Benn=C3=A9e?= , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Richard Henderson , Wainer dos Santos Moschetta , Peter Maydell , Brad Smith , Jiaxun Yang , Thomas Huth , Akihiko Odaki Subject: [PATCH 16/17] plugins: Remove an extra parameter Date: Sat, 28 Oct 2023 11:33:10 +0100 Message-Id: <20231028103311.347104-17-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231028103311.347104-1-alex.bennee@linaro.org> References: <20231028103311.347104-1-alex.bennee@linaro.org> 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: pass client-ip=2a00:1450:4864:20::42b; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x42b.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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1698489703111100001 Content-Type: text/plain; charset="utf-8" From: Akihiko Odaki copy_call() has an unused parameter so remove it. Signed-off-by: Akihiko Odaki Message-Id: <20231019101030.128431-7-akihiko.odaki@daynix.com> Reviewed-by: Richard Henderson --- 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.39.2