Skip to content

Commit 3ee50dc

Browse files
paulburtonralfbaechle
authored andcommitted
irqchip: mips-gic: Remove GIC_CPU_INT* macros
The GIC_CPU_INT* macros are never used. Remove the dead code. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/17038/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
1 parent ba9cc43 commit 3ee50dc

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

‎include/linux/irqchip/mips-gic.h‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,6 @@
2121
#define GIC_UMV_SH_COUNTER_31_00_OFS 0x0000
2222
#define GIC_UMV_SH_COUNTER_63_32_OFS 0x0004
2323

24-
/* GIC nomenclature for Core Interrupt Pins. */
25-
#define GIC_CPU_INT0 0 /* Core Interrupt 2 */
26-
#define GIC_CPU_INT1 1 /* . */
27-
#define GIC_CPU_INT2 2 /* . */
28-
#define GIC_CPU_INT3 3 /* . */
29-
#define GIC_CPU_INT4 4 /* . */
30-
#define GIC_CPU_INT5 5 /* Core Interrupt 7 */
31-
3224
/* Add 2 to convert GIC CPU pin to core interrupt */
3325
#define GIC_CPU_PIN_OFFSET 2
3426

0 commit comments

Comments
 (0)