From: Greg Kroah-Hartman Date: Fri, 21 Nov 2008 18:58:10 +0000 (-0800) Subject: Staging: comedi: fix checkpatch.pl warning in interrupt.h X-Git-Tag: v2.6.29-rc1~228^2~42 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0bf8e27f7a7da413c1cf3dad4afdcf1b17418285;p=linux-2.6-omap-h63xx.git Staging: comedi: fix checkpatch.pl warning in interrupt.h No more need for a kernel version check now that we are in the main kernel tree. Cc: David Schleef Cc: Frank Mori Hess Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/interrupt.h b/drivers/staging/comedi/interrupt.h index 16532ec7a4b..3038e461948 100644 --- a/drivers/staging/comedi/interrupt.h +++ b/drivers/staging/comedi/interrupt.h @@ -53,15 +53,8 @@ typedef void irqreturn_t; #endif #endif -/* if interrupt handler prototype has pt_regs* parameter */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 19) -#define PT_REGS_ARG , struct pt_regs *regs -#define PT_REGS_CALL , regs -#define PT_REGS_NULL , NULL -#else #define PT_REGS_ARG #define PT_REGS_CALL #define PT_REGS_NULL -#endif #endif