aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/line6/usbdefs.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-02-27 20:32:10 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-03 14:54:25 -0700
commit4cb8f302738bd4d1fb5e2b909b735e8826558fbf (patch)
tree98753cda6471857ac542349e7220a7ea5a64109d /drivers/staging/line6/usbdefs.h
parent0c7ab1580f82d882478db61467005693b4b4c063 (diff)
downloadlinaro-lsk-4cb8f302738bd4d1fb5e2b909b735e8826558fbf.tar.gz
Staging: line6: remove KERNEL_VERSION checks
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/usbdefs.h')
-rw-r--r--drivers/staging/line6/usbdefs.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/line6/usbdefs.h b/drivers/staging/line6/usbdefs.h
index cbf5d0d62a1..15dbca757ac 100644
--- a/drivers/staging/line6/usbdefs.h
+++ b/drivers/staging/line6/usbdefs.h
@@ -13,9 +13,6 @@
#define USBDEFS_H
-#include <linux/version.h>
-
-
#define LINE6_VENDOR_ID 0x0e41
#define USB_INTERVALS_PER_SECOND 1000
@@ -65,11 +62,4 @@
#define LINE6_FALLBACK_INTERVAL 10
#define LINE6_FALLBACK_MAXPACKETSIZE 16
-
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 18)
-#define usb_interrupt_msg(usb_dev, pipe, data, len, actual_length, timeout) \
-usb_bulk_msg(usb_dev, pipe, data, len, actual_length, timeout)
-#endif
-
-
#endif