From patchwork Tue Oct 31 14:44:00 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 739583 Delivered-To: patch@linaro.org Received: by 2002:a5d:4c47:0:b0:32d:baff:b0ca with SMTP id n7csp1689954wrt; Tue, 31 Oct 2023 07:50:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG5EKqM1jaRe4+GsuGEHkSYz/sZxsouz0PdKeQaLjJw/SCpSGmS7oyNgm4hoP4aLyzBjPB1 X-Received: by 2002:a05:622a:1910:b0:41e:4744:4b42 with SMTP id w16-20020a05622a191000b0041e47444b42mr18883991qtc.56.1698763855017; Tue, 31 Oct 2023 07:50:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698763855; cv=none; d=google.com; s=arc-20160816; b=vEYtVrVPcrCLS93IMI1/gLyN1cIO5sjSiw2+vZPbgWH8YG4/oafcv0Tft7q5okSBQz a3x+74dCJT5RSuXA3t5bqappsDxUl5n3dY4wbQWy/F0W/IhZMM7Ghm5l28JF0hnmlgLO M4AnPJ8tvDXwh2LoOAvAQrcjgXUi/LhgBFzjTJwiPDZez8n197fASpjR7zX1+CRtTXio LbAGB2AWyX2Nl5roDzHN4T10aPkbk7ALfG8yR/U+pkq/6payIIRkwFxKEPpkfqz+Notz y+9lwMZY4IS1W/N0bZ31WTVNNMiULAscBSQDSXcRIwBoRtU/tnDbpCNEOR90w0VvKQmT 0ACg== 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=fxHSMYBWiTSk5NVD1xEg3KSvT3Ex+9zHygSFCiZHI5I=; fh=BA4mOxYmahrlypOdKOCdwmSiZeojxOGGShCWln9rROs=; b=RToGL/7/t3E1Y74RU4VdFK3QJX0KWY9sGuVEcd6W8XxbL2Wr5invpsxPaD3+66HOx+ tdO1IMNMOJ6fWW7CVRYP1ejgcjatIIAyOWsOYp1baE5QDnQzn/ERHUlcuBtbKi6KMpYz G8knandy3YtT4S/ogyQ0o+mTkG/onUCnQCiTv0ioTGUzh6+fO+De9/fduNkWZoZgL2T3 pgk8KeJVHOkV0m1CV7bNCUQZ6LMOx838UHQu3OZAy0PWZJdEx+zVnzOgQfBqfSAJ4FVS Fxkax2LH95S2GLdH6f81QwgFk/bdoJ3rtvi2nLFb8Gjf+uEL9VopsAg49HohIVsEajte CNow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=zfOvebfE; 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 a22-20020ac85b96000000b00417a3aa1fb5si1210128qta.573.2023.10.31.07.50.54 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 31 Oct 2023 07:50:54 -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=zfOvebfE; 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 1qxq4y-0003GC-Co; Tue, 31 Oct 2023 10:50:52 -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 1qxq4w-0003FT-I3 for qemu-devel@nongnu.org; Tue, 31 Oct 2023 10:50:50 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qxq4u-0003QA-Mv for qemu-devel@nongnu.org; Tue, 31 Oct 2023 10:50:50 -0400 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40906fc54fdso45307105e9.0 for ; Tue, 31 Oct 2023 07:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1698763847; x=1699368647; 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=fxHSMYBWiTSk5NVD1xEg3KSvT3Ex+9zHygSFCiZHI5I=; b=zfOvebfEq2gjqh6KxCvhcxjECJZOoGUaLx4eDySJyc+zILBmWswMfrOENJonsHfDRX EXBUlYi7+r0/EMoyQ4yaT2cs/ZkpjjU0G8htZ04ROt7LVwohHdA+pPD/oMl2Qt4DihLR U5AOsGvjOwVmQm0ORNnzerty+yb3rtSJ52iJ8S1UkutB+wBEyeaH1o+3tcK2RHoyEQDq K2UAkyxNLkAiDnWyMwLJr9tZKl1vxBf+56p3wn9t/PDZdXGuFteHIyw6kEZxcCghImwy axHP4LvjyAlhb6ECZNcNPTPndTu/ggnM+R5EH3xsfHdX2U/YnXqZYDKYNONjjGrTl/T1 3+JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698763847; x=1699368647; 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=fxHSMYBWiTSk5NVD1xEg3KSvT3Ex+9zHygSFCiZHI5I=; b=DyQ85zZpZJwEXNbwJZS1ea515qSD7JaRnQj4ufOdpq5wwhSQB1YXWpzs7os6BOI+9y k1IaEBuGan/VtVN6rtzobq/3yXyS6qO7MiNm0kywAkezo+2HL6zJxqB9zhHTUAeHreSI 0s/MPGHwqfmPsFkISAdXCxOHtklrYBAPC39v5IvqxavEqfbS/4RAGX0l6tPmm0uNcDyT Ooi3xW184OwEWLfPSjUfltNqRhFzLPLaSWZCs+6UOl6/qIgl30YwEFgZmKs8/99RSPiz abdmxybzSzXCtR8bmlZV4bmuetdsZmt0MNoU7E4DYh5bcg5zQyitofZeZtoMLCzHHOSo 29Ow== X-Gm-Message-State: AOJu0YwIqRMGZt9jw+B1ys3XmMOJEpZbitQJc+eGp/D8VXfA39plEjsw W1Wa75NGQlr38+ifQt73SbDvGw== X-Received: by 2002:a05:600c:1d07:b0:407:8317:ad81 with SMTP id l7-20020a05600c1d0700b004078317ad81mr11622791wms.1.1698763846831; Tue, 31 Oct 2023 07:50:46 -0700 (PDT) Received: from draig.lan ([85.9.250.243]) by smtp.gmail.com with ESMTPSA id n12-20020adfe78c000000b0032f7eaa6e43sm1662612wrm.79.2023.10.31.07.50.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 07:50:46 -0700 (PDT) Received: from draig.lan (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 79EBA65731; Tue, 31 Oct 2023 14:44:03 +0000 (GMT) From: =?utf-8?q?Alex_Benn=C3=A9e?= To: qemu-devel@nongnu.org Cc: Akihiko Odaki , Richard Henderson , =?utf-8?q?Alex_Benn=C3=A9?= =?utf-8?q?e?= , Paolo Bonzini Subject: [PULL 18/19] plugins: Remove an extra parameter Date: Tue, 31 Oct 2023 14:44:00 +0000 Message-Id: <20231031144401.1238210-19-alex.bennee@linaro.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231031144401.1238210-1-alex.bennee@linaro.org> References: <20231031144401.1238210-1-alex.bennee@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x32d.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, T_SCC_BODY_TEXT_LINE=-0.01 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 Message-Id: <20231029145033.592566-19-alex.bennee@linaro.org> Signed-off-by: Alex Bennée 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;