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>
Subject: [PATCH 2/3] genirq: Remove unused irq_chip_generic::{type,polarity}_cache
Date: Thu,  8 Aug 2024 12:41:17 +0200	[thread overview]
Message-ID: <20240808104118.430670-2-jirislaby@kernel.org> (raw)
In-Reply-To: <20240808104118.430670-1-jirislaby@kernel.org>

The type_cache and polarity_cache members of struct irq_chip_generic are
unused. Remove them both along with their kernel-doc.

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

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
---
 include/linux/irq.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/linux/irq.h b/include/linux/irq.h
index 1f5dbf1f92c9..00490d6ead65 100644
--- a/include/linux/irq.h
+++ b/include/linux/irq.h
@@ -1040,8 +1040,6 @@ struct irq_chip_type {
  * @irq_base:		Interrupt base nr for this chip
  * @irq_cnt:		Number of interrupts handled by this chip
  * @mask_cache:		Cached mask register shared between all chip types
- * @type_cache:		Cached type register
- * @polarity_cache:	Cached polarity register
  * @wake_enabled:	Interrupt can wakeup from suspend
  * @wake_active:	Interrupt is marked as an wakeup from suspend source
  * @num_ct:		Number of available irq_chip_type instances (usually 1)
@@ -1068,8 +1066,6 @@ struct irq_chip_generic {
 	unsigned int		irq_base;
 	unsigned int		irq_cnt;
 	u32			mask_cache;
-	u32			type_cache;
-	u32			polarity_cache;
 	u32			wake_enabled;
 	u32			wake_active;
 	unsigned int		num_ct;
-- 
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 [PATCH 1/3] genirq/irq_sim: Remove unused irq_sim_work_ctx::irq_base Jiri Slaby (SUSE)
2024-08-08 10:41 ` Jiri Slaby (SUSE) [this message]
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-2-jirislaby@kernel.org \
    --to=jirislaby@kernel.org \
    --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®