summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb
diff options
context:
space:
mode:
authorAlex Woods <devnull@localhost>2005-01-09 18:25:01 +0000
committerAlex Woods <devnull@localhost>2005-01-09 18:25:01 +0000
commit289722ad37c66b629ef445f395b5da285ae20ebf (patch)
tree9397730754d7f62d75dd5b480e678a494ca177d2 /linux/drivers/media/dvb
parent0d95b343eb9c8f6d25b875d1f70266f48e8c3a21 (diff)
downloadmediapointer-dvb-s2-289722ad37c66b629ef445f395b5da285ae20ebf.tar.gz
mediapointer-dvb-s2-289722ad37c66b629ef445f395b5da285ae20ebf.tar.bz2
Remove backward compatibility bits
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
index 50408cee0..cb56fdfee 100644
--- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c
@@ -755,11 +755,7 @@ static void ttusb_dec_stop_iso_xfer(struct ttusb_dec *dec)
if (!dec->iso_stream_count) {
for (i = 0; i < ISO_BUF_COUNT; i++)
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,7)
- usb_unlink_urb(dec->iso_urb[i]);
-#else
usb_kill_urb(dec->iso_urb[i]);
-#endif
}
up(&dec->iso_sem);
@@ -824,11 +820,7 @@ static int ttusb_dec_start_iso_xfer(struct ttusb_dec *dec)
"error %d\n", __FUNCTION__, i, result);
while (i) {
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,7)
- usb_unlink_urb(dec->iso_urb[i - 1]);
-#else
usb_kill_urb(dec->iso_urb[i - 1]);
-#endif
i--;
}
@@ -1386,11 +1378,7 @@ static void ttusb_dec_exit_usb(struct ttusb_dec *dec)
dec->iso_stream_count = 0;
for (i = 0; i < ISO_BUF_COUNT; i++)
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,7)
- usb_unlink_urb(dec->iso_urb[i]);
-#else
usb_kill_urb(dec->iso_urb[i]);
-#endif
ttusb_dec_free_iso_urbs(dec);
}