diff options
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 12 |
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); } |