mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
To: tglx@linutronix.de
Cc: linux-kernel@vger.kernel.org,
	"Jiri Slaby (SUSE)" <jirislaby@kernel.org>,
	Bartosz Golaszewski <brgl@bgdev.pl>
Subject: [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base
Date: Thu,  8 Aug 2024 12:41:16 +0200	[thread overview]
Message-ID: <20240808104118.430670-1-jirislaby@kernel.org> (raw)

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


             reply	other threads:[~2024-08-08 10:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-08 10:41 Jiri Slaby (SUSE) [this message]
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)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240808104118.430670-1-jirislaby@kernel.org \
    --to=jirislaby@kernel.org \
    --cc=brgl@bgdev.pl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®