genirq: Remove unused irq_chip_generic:: {type,polarity}_cache
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Thu, 8 Aug 2024 10:41:17 +0000 (12:41 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 8 Aug 2024 15:15:02 +0000 (17:15 +0200)
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
include/linux/irq.h

index 1f5dbf1f92c9289e467a61c9abf4785ffc317483..00490d6ead656be7453201c035e061ac0363e5a3 100644 (file)
@@ -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;