From patchwork Sat Oct 28 10:33:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 738943 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp303066wrt; Sat, 28 Oct 2023 03:41:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6Ue0F0MzMy4FaqK0cGSQ16ADsdaZliVIJ+/SGPsgjy3mwViQvrlhdx/GezKtiJHrYJql+ X-Received: by 2002:ac8:4e4b:0:b0:403:ac95:c6a9 with SMTP id e11-20020ac84e4b000000b00403ac95c6a9mr6300912qtw.30.1698489702331; Sat, 28 Oct 2023 03:41:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698489702; cv=none; d=google.com; s=arc-20160816; b=tu474GIevPPYUQ3EV+UH+EieIzPCt54TfcZwC1YPKDZa8ud7R2VFe765WsTYsHkZ5F VUaX4ri7zaemePB+kjfuLSmIohz5VGlTX8avz4wRLwk2ORGDrCQZuDo0ZQWa/szUcixc RxAzUv/Qo2UrGGKGJYfE3sBoKrdtnJ5J6izKPTOQ+13k1yW1WmS4VMw0FL4Ks34TA+97 rpqJl+GXsNzx4imhsR7Lx9/WVcuq5MmD43HMP0285phqhiPg/jyu7L/zDZP/KY5llwLS RsLXqOvZEYRrEVBtR+AUB7zZ7H1kGZCnlG17MMF+6GrFEcEue0efU5pNVoyE9XJdAzt8 cKUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=QTP++EEXZ2TTOVv8m/MeR1w9h8DFHpGwGpQkFcD2Z0c=; fh=nJM5jO7eiVNcYdEhmlCXCeK22LQiGBuZV7XYo+7hMdc=; b=azD0jq8GeF8fjPkjKYHpNQooNvuCAfc0an3CzEF0kIxatP32ZkUviRi67tPkiZxvyA UMC+xQHcN/hG5a0VeBwA8BSZjfk0Whe3sRk4Dp99VvCdujkUYp1Ct21wT4ZGSxxE8FV6 DZv9eLiC9YmhDnR7sz3WF+WeM0UF1wsUtQNvf4fm44CLs40wrbhKlpZ4+aYm8tiv2nGq eY2rvtKKKvbZoKx3NZngYpvqpUK82LyPI8q+xVer66kpyKk9ezOcT7KIajYVyFkBE7bD 8QzVUDk6TjLP8zIJj7/Tp6DXvNsZQjrFDokL1AcAlET/XZcmDlMyT4K+whH2Bzfv7ri5 pGqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GLW66tTU; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c15-20020ac87d8f000000b0041cc53aac28si2035799qtd.640.2023.10.28.03.41.42 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Oct 2023 03:41:42 -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=GLW66tTU; 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 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) 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-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) 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) From: =?utf-8?q?Alex_Benn=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_Benn=C3=A9e?= , =?utf-8?q?Philippe_M?= =?utf-8?q?athieu-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 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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; } -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_idx) { TCGOp *old_op; int func_idx; @@ -372,8 +371,7 @@ static TCGOp *append_udata_cb(const struct qemu_plugin_dyn_cb *cb, } /* call */ - op = copy_call(&begin_op, op, HELPER(plugin_vcpu_udata_cb), - cb->f.vcpu_udata, cb_idx); + op = copy_call(&begin_op, op, cb->f.vcpu_udata, cb_idx); return op; } @@ -420,8 +418,7 @@ static TCGOp *append_mem_cb(const struct qemu_plugin_dyn_cb *cb, if (type == PLUGIN_GEN_CB_MEM) { /* call */ - op = copy_call(&begin_op, op, HELPER(plugin_vcpu_mem_cb), - cb->f.vcpu_udata, cb_idx); + op = copy_call(&begin_op, op, cb->f.vcpu_udata, cb_idx); } return op;