From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 09156C4332F for ; Fri, 9 Dec 2022 14:06:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=wnX4gj5NWemuhYnPYK4wKfhuvAczyiapPmdL236hAJw=; b=z+XbJBjosXqxwM HKLGhCUjnNWzC/7/4Cuh1Z1ziGErBDlM6Bhb7odDw7CIBaXkC3v0H26MPI1ZDkUkkN2xyJze9bHYU MknZoHgUdrsIdvvwV5O+7XxHza725MqSC9p0sRVQgUkZs25WwtudWweC5ZBqvPKXKJ6CRwtNFeQxT xBJvt00op/55s96tDBI0qx3r8iO9cBtNXXO8XsHN6jpgbb7s61R3bu2sNlNhVqYUfVFvxeQe4zDpZ PVOhjBQo3g1Unw3P1Ef8pW2qCmeOMEzy5TK1qeTQyl+TUf5l8OjQ014zUD2hsb4xUvQe1HASduUD0 x92SXzvML/ln79BLmH7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3e0M-008DvD-BZ; Fri, 09 Dec 2022 14:05:34 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1p3e04-008Dav-7N for linux-arm-kernel@lists.infradead.org; Fri, 09 Dec 2022 14:05:18 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 9F9FDB8287F; Fri, 9 Dec 2022 14:05:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FE20C433F2; Fri, 9 Dec 2022 14:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1670594713; bh=N1BLDRjjNKEXoxfIcTMF9Q00bHff3r4yykAh+872CX4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TtPqP036tkrcpv8Bt8ZY85ddGfPygznR0oI4wrG4ml4cOxlh6GVIgC5zOR8M9UJjh Uh9O2pzEW7CpDacllUilQyJnITlv2eyNBoQN1j0hw+49TBfYAoMKTzggSQVSkG7p4b T9cehDQjtLS2DQTRdBEy5zRBVLsirgEKLn8emPyVRIS/0zEWbYxJW7lCNfQO/VMoI6 yAC9rNvM6NGAP2CcipblH0bRWIegOw9ze3sAVakaSO3wSe4iCsZaMOfl6AWoQ7q7kM mQU2FNCRbCIjg4YF8g4WPIYIwV36kZ3orKASqrvbFDDlQb15WEizOxfA3appk0sg5R hFHPmeEi/25gA== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1p3e0I-0000RR-9J; Fri, 09 Dec 2022 15:05:30 +0100 From: Johan Hovold To: Marc Zyngier Cc: Thomas Gleixner , x86@kernel.org, platform-driver-x86@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH v3 02/19] irqdomain: Drop dead domain-name assignment Date: Fri, 9 Dec 2022 15:01:33 +0100 Message-Id: <20221209140150.1453-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.37.4 In-Reply-To: <20221209140150.1453-1-johan+linaro@kernel.org> References: <20221209140150.1453-1-johan+linaro@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20221209_060516_439752_4605BAD9 X-CRM114-Status: GOOD ( 12.72 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since commit d59f6617eef0 ("genirq: Allow fwnode to carry name information only") an IRQ domain is always given a name during allocation (e.g. used for the debugfs entry). Drop the leftover name assignment when allocating the first IRQ. Signed-off-by: Johan Hovold --- kernel/irq/irqdomain.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c index bf67de1733ee..fe9ec53fe7aa 100644 --- a/kernel/irq/irqdomain.c +++ b/kernel/irq/irqdomain.c @@ -593,10 +593,6 @@ int irq_domain_associate(struct irq_domain *domain, unsigned int virq, mutex_unlock(&irq_domain_mutex); return ret; } - - /* If not already assigned, give the domain the chip's name */ - if (!domain->name && irq_data->chip) - domain->name = irq_data->chip->name; } domain->mapcount++; @@ -1118,10 +1114,6 @@ static void irq_domain_insert_irq(int virq) domain->mapcount++; irq_domain_set_mapping(domain, data->hwirq, data); - - /* If not already assigned, give the domain the chip's name */ - if (!domain->name && data->chip) - domain->name = data->chip->name; } irq_clear_status_flags(virq, IRQ_NOREQUEST); -- 2.37.4 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel