aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2008-11-21 10:58:10 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-06 13:52:27 -0800
commit0bf8e27f7a7da413c1cf3dad4afdcf1b17418285 (patch)
tree74cc5f828270d29c53eb81919a0bc6b66a463ba4 /drivers/staging
parent39eca2a087e30001b3679c04338976d3b02b9173 (diff)
downloadkernel_samsung_tuna-0bf8e27f7a7da413c1cf3dad4afdcf1b17418285.zip
kernel_samsung_tuna-0bf8e27f7a7da413c1cf3dad4afdcf1b17418285.tar.gz
kernel_samsung_tuna-0bf8e27f7a7da413c1cf3dad4afdcf1b17418285.tar.bz2
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 <ds@schleef.org> Cc: Frank Mori Hess <fmhess@users.sourceforge.net> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/comedi/interrupt.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/staging/comedi/interrupt.h b/drivers/staging/comedi/interrupt.h
index 16532ec..3038e46 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