[tip: irq/core] genirq: Remove unused irq_chip_generic:: {type,polarity}_cache
From: tip-bot2 for Jiri Slaby (SUSE)
Date: Thu Aug 08 2024 - 11:22:47 EST
The following commit has been merged into the irq/core branch of tip:
Commit-ID: a09cdb8f564613769142a60400bb5160864c3269
Gitweb: https://git.kernel.org/tip/a09cdb8f564613769142a60400bb5160864c3269
Author: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
AuthorDate: Thu, 08 Aug 2024 12:41:17 +02:00
Committer: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
CommitterDate: Thu, 08 Aug 2024 17:15:02 +02:00
genirq: Remove unused irq_chip_generic:: {type,polarity}_cache
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@xxxxxxxxxx>
Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/all/20240808104118.430670-2-jirislaby@xxxxxxxxxx
---
include/linux/irq.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/linux/irq.h b/include/linux/irq.h
index 1f5dbf1..00490d6 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;