Skip to content

Commit 6002916

Browse files
Jiri Slaby (SUSE)KAGA-KOKO
authored andcommitted
genirq: Remove irq_chip_regs:: Polarity
The polarity member of struct irq_chip_regs is unused. Remove it along with its 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 a09cdb8 commit 6002916

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/irq.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,6 @@ void irq_init_desc(unsigned int irq);
991991
* @ack: Ack register offset to reg_base
992992
* @eoi: Eoi register offset to reg_base
993993
* @type: Type configuration register offset to reg_base
994-
* @polarity: Polarity configuration register offset to reg_base
995994
*/
996995
struct irq_chip_regs {
997996
unsigned long enable;
@@ -1000,7 +999,6 @@ struct irq_chip_regs {
1000999
unsigned long ack;
10011000
unsigned long eoi;
10021001
unsigned long type;
1003-
unsigned long polarity;
10041002
};
10051003

10061004
/**

0 commit comments

Comments
 (0)