From 0bf8e27f7a7da413c1cf3dad4afdcf1b17418285 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Fri, 21 Nov 2008 10:58:10 -0800 Subject: [PATCH] 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 --- 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 16532ec7a4b1..3038e461948a 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 -- 2.39.5