mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base
@ 2024-08-08 10:41 Jiri Slaby (SUSE)
  2024-08-08 10:41 ` [PATCH 2/3] genirq: Remove unused irq_chip_generic::{type,polarity}_cache Jiri Slaby (SUSE)
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jiri Slaby (SUSE) @ 2024-08-08 10:41 UTC (permalink / raw)
  To: tglx; +Cc: linux-kernel, Jiri Slaby (SUSE), Bartosz Golaszewski

Since commit 337cbeb2c13e ("genirq/irq_sim: Simplify the API"),
irq_sim_work_ctx::irq_base is unused. Drop it.

Found by https://github.com/jirislaby/clang-struct.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Bartosz Golaszewski <brgl@bgdev.pl>
---
 kernel/irq/irq_sim.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/kernel/irq/irq_sim.c b/kernel/irq/irq_sim.c
index 3d4036db15ac..1a3d483548e2 100644
--- a/kernel/irq/irq_sim.c
+++ b/kernel/irq/irq_sim.c
@@ -13,7 +13,6 @@
 
 struct irq_sim_work_ctx {
 	struct irq_work		work;
-	int			irq_base;
 	unsigned int		irq_count;
 	unsigned long		*pending;
 	struct irq_domain	*domain;
-- 
2.46.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-08-08 15:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-08 10:41 [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base Jiri Slaby (SUSE)
2024-08-08 10:41 ` [PATCH 2/3] genirq: Remove unused irq_chip_generic::{type,polarity}_cache Jiri Slaby (SUSE)
2024-08-08 15:21   ` [tip: irq/core] genirq: Remove unused irq_chip_generic:: {type,polarity}_cache tip-bot2 for Jiri Slaby (SUSE)
2024-08-08 10:41 ` [PATCH 3/3] genirq: Remove irq_chip_regs::polarity Jiri Slaby (SUSE)
2024-08-08 15:21   ` [tip: irq/core] genirq: Remove irq_chip_regs:: Polarity tip-bot2 for Jiri Slaby (SUSE)
2024-08-08 11:37 ` [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base Bartosz Golaszewski
2024-08-08 15:21 ` [tip: irq/core] genirq/irq_sim: Remove unused irq_sim_work_ctx:: Irq_base tip-bot2 for Jiri Slaby (SUSE)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®