diff mbox series

[23/25] irqchip/armada-370-xp: Drop arguments from mpic_handle_msi_irq()

Message ID 20240701170249.8128-24-kabel@kernel.org (mailing list archive)
State Superseded
Headers show
Series armada-370-xp irqchip updates round 2 | expand

Commit Message

Marek Behún July 1, 2024, 5:02 p.m. UTC
Drop arguments from the mpic_handle_msi_irq() function, they are not
used.

Signed-off-by: Marek Behún <kabel@kernel.org>
---
 drivers/irqchip/irq-armada-370-xp.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Comments

Andrew Lunn July 3, 2024, 1:38 a.m. UTC | #1
On Mon, Jul 01, 2024 at 07:02:47PM +0200, Marek Behún wrote:
> Drop arguments from the mpic_handle_msi_irq() function, they are not
> used.
> 
> Signed-off-by: Marek Behún <kabel@kernel.org>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
diff mbox series

Patch

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)