Skip to content

Commit a09cdb8

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
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) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected]
1 parent 15e4612 commit a09cdb8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

include/linux/irq.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,8 +1040,6 @@ struct irq_chip_type {
10401040
* @irq_base: Interrupt base nr for this chip
10411041
* @irq_cnt: Number of interrupts handled by this chip
10421042
* @mask_cache: Cached mask register shared between all chip types
1043-
* @type_cache: Cached type register
1044-
* @polarity_cache: Cached polarity register
10451043
* @wake_enabled: Interrupt can wakeup from suspend
10461044
* @wake_active: Interrupt is marked as an wakeup from suspend source
10471045
* @num_ct: Number of available irq_chip_type instances (usually 1)
@@ -1068,8 +1066,6 @@ struct irq_chip_generic {
10681066
unsigned int irq_base;
10691067
unsigned int irq_cnt;
10701068
u32 mask_cache;
1071-
u32 type_cache;
1072-
u32 polarity_cache;
10731069
u32 wake_enabled;
10741070
u32 wake_active;
10751071
unsigned int num_ct;

0 commit comments

Comments
 (0)