]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - embedded/arch/generic/defines/irq_generic.h
sysless: IRQ_RETVAL must not to touch its argument for void return type handler variant.
[lincan.git] / embedded / arch / generic / defines / irq_generic.h
index 1f6c39c0781f3a9cd65ac072ede3de692e687da6..ce2eada78fd5dd048702166a0a92e434e940daad 100644 (file)
@@ -17,7 +17,7 @@ typedef int irqreturn_t;
 typedef void irqreturn_t;
 #define IRQ_NONE       ((void)0)
 #define IRQ_HANDLED    ((void)1)
-#define IRQ_RETVAL(x)  ((x)!=IRQ_NONE?IRQ_HANDLED:IRQ_NONE)
+#define IRQ_RETVAL(x)  (IRQ_HANDLED)
 
 #endif /*WITH_IRQ_RETVAL*/