From patchwork Thu Nov 17 15:08:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 21742 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp454602wrr; Thu, 17 Nov 2022 07:13:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf6yPBBte9phoalxGnxHk8uNTqiRTV9jjZIQmOhD7B89+hBS79ZVV6T/0IlvdR/sIJv/VLAn X-Received: by 2002:a17:906:8455:b0:7aa:97c7:2c04 with SMTP id e21-20020a170906845500b007aa97c72c04mr2599923ejy.191.1668698023999; Thu, 17 Nov 2022 07:13:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668698023; cv=none; d=google.com; s=arc-20160816; b=IWBcJ95KWSzkha/ppAiDAeJFo3qPYQ9GFo9xunOsMQFk1B8kJ41MBe1hDSEwrGny8Q WE2+lrMzBpgKUoLemjEsbWtmFsjA2PweodveDohE+VAkgAU1iCe9k6YpgWdXto8vzZP+ s44yCtcMmgK9ar7c/m3RhzNudT6Ro7bAl+825OWLibQXb5kOgjXvO1CRa4E9kwgv70Yh CP+fAqOps6Okh/AEeEbl/MdJ69JPp7Jld0WPYmvGwBsoFHcbheRSKKDd+F/3MrNxZ7rl 7aD+TA/v4JSlT6gwHqjWw99rWOM6hYwwCcJyTp8dFaQhIEW6E9JXbeUZUi1XdH5UPpp/ GQrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=XQ7IDcdz2kRDkskmrnjbIaNuMerZZbNgSVXrJHNie9c=; b=S83TOAeJtYHB5BHROkRGIz5rUSuDjQNaVGt2CilJcjImcbNsZm5SpvE9XKC00+tB+N b97ou/r6OBV9+MZAdlxA2vWDOR+3n8ysNxgub387asf4Y9mqK0cGVycM2iteOxfMZ9FW Xzgm+GqyuVFQjoOQDeI/QSQ+uKReBdGFLB82DmUY5QXwJJYFCyobdoKZ3jQTwuuNIKIP 4P3uxeFtWXYSrKgRaPrfGgBlz/edXUqGFRCojhuWqPU1ZBPQfWegcRabnAykZAwiNjkN MjxC7ZwXOjajwz/QgQB/2ThScVFw0Lauj3ABWqSCjHeICnFvnv8NupZhW6f6v4VGeYYa X7Yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0rLvmMVi; dkim=neutral (no key) header.i=@linutronix.de header.b=sgZ0hV2G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a056402248500b0046335076fdfsi939674eda.341.2022.11.17.07.13.20; Thu, 17 Nov 2022 07:13:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=0rLvmMVi; dkim=neutral (no key) header.i=@linutronix.de header.b=sgZ0hV2G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240666AbiKQPLx (ORCPT + 99 others); Thu, 17 Nov 2022 10:11:53 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240567AbiKQPKM (ORCPT ); Thu, 17 Nov 2022 10:10:12 -0500 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F13D490A8; Thu, 17 Nov 2022 07:08:36 -0800 (PST) Date: Thu, 17 Nov 2022 15:08:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1668697715; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XQ7IDcdz2kRDkskmrnjbIaNuMerZZbNgSVXrJHNie9c=; b=0rLvmMViNOyrgq/Vc7scjasIA23f6t6RydNWBE0rnR/MnN2DniesKApXXfPWMtRcdfPfCJ PAW7Qrnb6sraWnemVHSuv8uOW3c58IAd79oY+beRSMqhy1l8/4czz+kf3jjaSQ5+NaZgZp 7sQMJ0AtRUCdmF/mjdWc/TZoZzYumQwAFu3wkyA0BrtuzPM3oLj1janYTUUwlaHghNQzXq C7eWiwmkjT4yaQzs3N6mXrcon3Z7I/D54cfoVtMfHxzinkoMGMgPq+HmdnSchd8Fs/jOU7 7AG9/J5rfV+yIUgOAy57y2EvHU5VaQbUishwlMX9EFJO20QFm19re2iofsPB9A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1668697715; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XQ7IDcdz2kRDkskmrnjbIaNuMerZZbNgSVXrJHNie9c=; b=sgZ0hV2GQjRUnYJ9p7mCVjLbERGcGMzTFBQAJsOQdGmTLigQheFbm7AgH2KNZx8sEvzOCU hxq76jT0GY6d4tCg== From: "tip-bot2 for Angus Chen" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: irq/core] genirq: Remove unused argument force of irq_set_affinity_deactivated() Cc: Angus Chen , Thomas Gleixner , x86@kernel.org, linux-kernel@vger.kernel.org, maz@kernel.org In-Reply-To: <20221007103236.599-1-angus.chen@jaguarmicro.com> References: <20221007103236.599-1-angus.chen@jaguarmicro.com> MIME-Version: 1.0 Message-ID: <166869771390.4906.10407501709343037583.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749756699154923822?= X-GMAIL-MSGID: =?utf-8?q?1749756699154923822?= The following commit has been merged into the irq/core branch of tip: Commit-ID: fd19ce77993a49f3afc56bb4cae7eafb1ec69e0c Gitweb: https://git.kernel.org/tip/fd19ce77993a49f3afc56bb4cae7eafb1ec69e0c Author: Angus Chen AuthorDate: Fri, 07 Oct 2022 18:32:36 +08:00 Committer: Thomas Gleixner CommitterDate: Thu, 17 Nov 2022 14:00:55 +01:00 genirq: Remove unused argument force of irq_set_affinity_deactivated() The force parameter in irq_set_affinity_deactivated() is not used, get rid of it. Signed-off-by: Angus Chen Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20221007103236.599-1-angus.chen@jaguarmicro.com --- kernel/irq/manage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 40fe780..5b7cf28 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -321,7 +321,7 @@ static int irq_try_set_affinity(struct irq_data *data, } static bool irq_set_affinity_deactivated(struct irq_data *data, - const struct cpumask *mask, bool force) + const struct cpumask *mask) { struct irq_desc *desc = irq_data_to_desc(data); @@ -354,7 +354,7 @@ int irq_set_affinity_locked(struct irq_data *data, const struct cpumask *mask, if (!chip || !chip->irq_set_affinity) return -EINVAL; - if (irq_set_affinity_deactivated(data, mask, force)) + if (irq_set_affinity_deactivated(data, mask)) return 0; if (irq_can_move_pcntxt(data) && !irqd_is_setaffinity_pending(data)) {