summaryrefslogtreecommitdiffstats
path: root/drivers/staging/line6/config.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman2009-02-28 05:28:04 +0100
committerGreg Kroah-Hartman2009-04-03 23:54:25 +0200
commit0c7ab1580f82d882478db61467005693b4b4c063 (patch)
treeed5870bf0340512c4325202e92abfb3635b7bc6e /drivers/staging/line6/config.h
parentStaging: line6: remove DEVICE_ATTRIBUTE (diff)
downloadkernel-qcow2-linux-0c7ab1580f82d882478db61467005693b4b4c063.tar.gz
kernel-qcow2-linux-0c7ab1580f82d882478db61467005693b4b4c063.tar.xz
kernel-qcow2-linux-0c7ab1580f82d882478db61467005693b4b4c063.zip
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 a687dc9b579f..205e697fa90c 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