[tip: irq/core] genirq/irq_sim: Remove unused field from struct irq_sim_irq_ctx

From: tip-bot2 for Bartosz Golaszewski
Date: Fri Jan 26 2024 - 07:53:55 EST


The following commit has been merged into the irq/core branch of tip:

Commit-ID: 3832f390423302e373a1818f6cf8cb29ebf3a195
Gitweb: https://git.kernel.org/tip/3832f390423302e373a1818f6cf8cb29ebf3a195
Author: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
AuthorDate: Mon, 22 Jan 2024 13:42:41 +01:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Fri, 26 Jan 2024 13:44:48 +01:00

genirq/irq_sim: Remove unused field from struct irq_sim_irq_ctx

The irqnum field is unused. Remove it.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20240122124243.44002-3-brgl@xxxxxxxx

---
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 dd76323..f5ebb3b 100644
--- a/kernel/irq/irq_sim.c
+++ b/kernel/irq/irq_sim.c
@@ -19,7 +19,6 @@ struct irq_sim_work_ctx {
};

struct irq_sim_irq_ctx {
- int irqnum;
bool enabled;
struct irq_sim_work_ctx *work_ctx;
};