lkml.org 
[lkml]   [2024]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[tip: irq/core] genirq/irq_sim: Remove unused irq_sim_work_ctx:: Irq_base
The following commit has been merged into the irq/core branch of tip:

Commit-ID: 15e46124ec937bb0ab530634dce4550947f53133
Gitweb: https://git.kernel.org/tip/15e46124ec937bb0ab530634dce4550947f53133
Author: Jiri Slaby (SUSE) <jirislaby@kernel.org>
AuthorDate: Thu, 08 Aug 2024 12:41:16 +02:00
Committer: Thomas Gleixner <tglx@linutronix.de>
CommitterDate: Thu, 08 Aug 2024 17:15:01 +02:00

genirq/irq_sim: Remove unused irq_sim_work_ctx:: Irq_base

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>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://lore.kernel.org/all/20240808104118.430670-1-jirislaby@kernel.org

---
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 3d4036d..1a3d483 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;
\
 
 \ /
  Last update: 2024-08-08 17:23    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog