Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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

authored by

Jiri Slaby (SUSE) and committed by
Thomas Gleixner
a09cdb8f 15e46124

-4
-4
include/linux/irq.h
··· 1040 1040 * @irq_base: Interrupt base nr for this chip 1041 1041 * @irq_cnt: Number of interrupts handled by this chip 1042 1042 * @mask_cache: Cached mask register shared between all chip types 1043 - * @type_cache: Cached type register 1044 - * @polarity_cache: Cached polarity register 1045 1043 * @wake_enabled: Interrupt can wakeup from suspend 1046 1044 * @wake_active: Interrupt is marked as an wakeup from suspend source 1047 1045 * @num_ct: Number of available irq_chip_type instances (usually 1) ··· 1066 1068 unsigned int irq_base; 1067 1069 unsigned int irq_cnt; 1068 1070 u32 mask_cache; 1069 - u32 type_cache; 1070 - u32 polarity_cache; 1071 1071 u32 wake_enabled; 1072 1072 u32 wake_active; 1073 1073 unsigned int num_ct;