From patchwork Mon Jul 1 17:02:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 13718466 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 8A2F0C3065B for ; Mon, 1 Jul 2024 17:06:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=oKtX9iBSjaeQqJL0HssL7Nc5AjG7BmrUyEjM7NbMdx0=; b=UM00tXgF5DOf+Fj4+/MXnPCtyJ Bku1P444S+nHB/kxfeaFRrvZV40WJPLpSAfaO/iyVzkMWGV8qmgND/dqdZkF7C1wczT7r9FwALKEG hXag9LHJLi47/jZgDgFYsGKxyqnizLGnQQk1cQCiAjONh81gn05xFR4qsbz6SJLHQLQoc2R3C+l3X uf5qHi/fnyshNQ3zIFZWz2hcjWt57X3J7F6eHQ4j7fe1BNCMZnW0kh+Btkq3k4A1GleeukxteKh8Q O5idRG1asPII10g0SRhyFGyHD8o/FGbvUthtQdsuyBaWSOQQUrqaWv7t7CuWHwXpZ056u+zBolJFy IShW9FnQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOKU6-00000004F7l-3u91; Mon, 01 Jul 2024 17:06:34 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOKRZ-00000004Dlg-3nmQ for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 17:03:59 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id A205DCE1A4E; Mon, 1 Jul 2024 17:03:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C95E2C2BD10; Mon, 1 Jul 2024 17:03:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719853435; bh=njL/2+sKHel7d/xZjeNl/2/HPMCf5x0Myv6CeDU7q9o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=An/S72aoOOiA5MgJ1/wEC+yp+iHOkZpCrQESIL8YFnpKMNXryAVWqRNuG3KzYwL1O hTFb5AuAfDpdaH0qyG/JtBKC6H0IqaeFjEe5XpANrVv5/ZffAKsDwFbB7MTCk5bOLR JSR3mXli0zBNr1ePnr529OId/6RFG4N8UaP8g3FiMKwMCUqzn/qpvVkUTHa56IWQ8K e1gZ4HEuoP7DDJyTuhUEzM4Ugxsv2f8yZHx731H7iuE/mSMWfLCXhnYkZNsHAglvtd V+g/LHF1r05AlzAjf88JvK+2mdXM8CPxVhP1voD3O/ODWgS/VIGbpj8AcYnVjRyMm5 c335KzIaElzng== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, arm@kernel.org, Andy Shevchenko , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 23/25] irqchip/armada-370-xp: Drop arguments from mpic_handle_msi_irq() Date: Mon, 1 Jul 2024 19:02:47 +0200 Message-ID: <20240701170249.8128-24-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240701170249.8128-1-kabel@kernel.org> References: <20240701170249.8128-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_100358_162614_D587F321 X-CRM114-Status: GOOD ( 10.87 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop arguments from the mpic_handle_msi_irq() function, they are not used. Signed-off-by: Marek BehĂșn Reviewed-by: Andrew Lunn --- drivers/irqchip/irq-armada-370-xp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index 5ce55cc15572..8de2f43792f8 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -609,7 +609,7 @@ static const struct irq_domain_ops mpic_irq_ops = { }; #ifdef CONFIG_PCI_MSI -static void mpic_handle_msi_irq(struct pt_regs *regs, bool is_chained) +static void mpic_handle_msi_irq(void) { unsigned long cause, nr; @@ -622,7 +622,7 @@ static void mpic_handle_msi_irq(struct pt_regs *regs, bool is_chained) nr - msi_doorbell_start()); } #else -static void mpic_handle_msi_irq(struct pt_regs *r, bool b) {} +static void mpic_handle_msi_irq(void) {} #endif #ifdef CONFIG_SMP @@ -662,7 +662,7 @@ static void mpic_handle_cascade_irq(struct irq_desc *desc) continue; if (hwirq == 0 || hwirq == 1) { - mpic_handle_msi_irq(NULL, true); + mpic_handle_msi_irq(); continue; } @@ -691,7 +691,7 @@ static void __exception_irq_entry mpic_handle_irq(struct pt_regs *regs) /* MSI handling */ if (hwirq == 1) - mpic_handle_msi_irq(regs, false); + mpic_handle_msi_irq(); /* IPI Handling */ if (hwirq == 0)