aboutsummaryrefslogtreecommitdiff
path: root/drivers/staging/line6/capture.c
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/capture.c
parent0c7ab1580f82d882478db61467005693b4b4c063 (diff)
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/capture.c')
-rw-r--r--drivers/staging/line6/capture.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/line6/capture.c b/drivers/staging/line6/capture.c
index 96ed08a06b9..6660c0b4cc5 100644
--- a/drivers/staging/line6/capture.c
+++ b/drivers/staging/line6/capture.c
@@ -88,9 +88,6 @@ static void unlink_audio_in_urbs(struct snd_line6_pcm *line6pcm)
if(test_bit(i, &line6pcm->active_urb_in)) {
if(!test_and_set_bit(i, &line6pcm->unlink_urb_in)) {
struct urb *u = line6pcm->urb_audio_in[i];
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 14)
- u->transfer_flags |= URB_ASYNC_UNLINK;
-#endif
usb_unlink_urb(u);
}
}