From b2f051ae390432789f2b02fe451aa23ae2698e3d Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 7 Nov 2007 16:53:00 +0000 Subject: [PATCH] frv: Remove bogus NO_IRQ = -1 define The old NO_IRQ define some platforms had was long ago declared obsolete and wrong. FRV should therefore not be re-introducing this, especially as IRQs are usually unsigned in the kernel. The "no IRQ" case is defined to be zero and Linus made this rather clear at the time. arch/frv shows no dependancy on this but it might show up driver fixes needing doing I guess Signed-off-by: Alan Cox Acked-by: David Howells Signed-off-by: Linus Torvalds --- include/asm-frv/irq.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/asm-frv/irq.h b/include/asm-frv/irq.h index 8fefd6b827aa..3a66ebd754bd 100644 --- a/include/asm-frv/irq.h +++ b/include/asm-frv/irq.h @@ -12,9 +12,6 @@ #ifndef _ASM_IRQ_H_ #define _ASM_IRQ_H_ -/* this number is used when no interrupt has been assigned */ -#define NO_IRQ (-1) - #define NR_IRQS 48 #define IRQ_BASE_CPU (0 * 16) #define IRQ_BASE_FPGA (1 * 16) -- 2.20.1