From 289722ad37c66b629ef445f395b5da285ae20ebf Mon Sep 17 00:00:00 2001 From: Alex Woods Date: Sun, 9 Jan 2005 18:25:01 +0000 Subject: Remove backward compatibility bits --- linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'linux/drivers/media') 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); } -- cgit v1.2.3