From 4a5a33b622ca46acd0a7c593a804964353d54a7b Mon Sep 17 00:00:00 2001 From: Bill Pemberton Date: Thu, 19 Mar 2009 14:22:44 -0400 Subject: [PATCH] Staging: comedi: Remove 2.4 irqreturn_t compatibility in comedi/interrupt.h This allows the comedi driver to build after commit bedd3..058bb is applied. Signed-off-by: Bill Pemberton Reported-by: Sachin Sant Reported-by: Randy Dunlap Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/interrupt.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/staging/comedi/interrupt.h b/drivers/staging/comedi/interrupt.h index 50cf823dbd04..d1f09892da2e 100644 --- a/drivers/staging/comedi/interrupt.h +++ b/drivers/staging/comedi/interrupt.h @@ -21,13 +21,6 @@ #include -#ifndef IRQ_NONE -typedef void irqreturn_t; -#define IRQ_NONE -#define IRQ_HANDLED -#define IRQ_RETVAL(x) (void)(x) -#endif - #ifndef IRQF_DISABLED #define IRQF_DISABLED SA_INTERRUPT #define IRQF_SAMPLE_RANDOM SA_SAMPLE_RANDOM -- 2.20.1