aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/line6/config.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-02-27 20:28:04 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:25 -0700
commit0c7ab1580f82d882478db61467005693b4b4c063 (patch)
treeed5870bf0340512c4325202e92abfb3635b7bc6e /drivers/staging/line6/config.h
parent77491e524ccb78adfad9cdc1b0b175c4e9fd0368 (diff)
Staging: line6: remove PT_REGS
As the code is in the kernel tree, it's no longer needed. Cc: Markus Grabner <grabner@icg.tugraz.at> Cc: Mariusz Kozlowski <m.kozlowski@tuxland.pl> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/line6/config.h')
-rw-r--r--drivers/staging/line6/config.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/line6/config.h b/drivers/staging/line6/config.h
index a687dc9b579..205e697fa90 100644
--- a/drivers/staging/line6/config.h
+++ b/drivers/staging/line6/config.h
@@ -43,16 +43,6 @@
#define CHECKPOINT printk("line6usb: %s (%s:%d)\n", __FUNCTION__, __FILE__, __LINE__)
#endif
-/**
- In Linux 2.6.20 and later, the pt_regs is no longer passed to USB callback
- functions.
-*/
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20)
-#define PT_REGS
-#else
-#define PT_REGS , struct pt_regs *regs
-#endif
-
#if DO_DEBUG_MESSAGES
#define DEBUG_MESSAGES(x) (x)
#else