summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-08-08 12:41:17 +0200
committerThomas Gleixner <tglx@linutronix.de>2024-08-08 17:15:02 +0200
commita09cdb8f564613769142a60400bb5160864c3269 (patch)
treeb9ffe1b6661d9ca45c959a4b6ae62077432ef4ab
parent15e46124ec937bb0ab530634dce4550947f53133 (diff)
downloadlwn-a09cdb8f564613769142a60400bb5160864c3269.tar.gz
lwn-a09cdb8f564613769142a60400bb5160864c3269.zip
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@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Link: https://lore.kernel.org/all/20240808104118.430670-2-jirislaby@kernel.org
-rw-r--r--include/linux/irq.h4
1 files changed, 0 insertions, 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;