summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c
diff options
context:
space:
mode:
authorPatrick Boettcher <devnull@localhost>2005-01-09 18:14:47 +0000
committerPatrick Boettcher <devnull@localhost>2005-01-09 18:14:47 +0000
commit0d95b343eb9c8f6d25b875d1f70266f48e8c3a21 (patch)
tree4f76702354415dd1ecc9032fe994cfa0ccec8cd5 /linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c
parent5ea20399906214c72720065c2b428a9459b85926 (diff)
downloadmediapointer-dvb-s2-0d95b343eb9c8f6d25b875d1f70266f48e8c3a21.tar.gz
mediapointer-dvb-s2-0d95b343eb9c8f6d25b875d1f70266f48e8c3a21.tar.bz2
remove backward compatibility stuff, as correctly suggested by Johannes
Diffstat (limited to 'linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c
index 2cd57eb1c..36aa76da1 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c
@@ -178,9 +178,6 @@ int dibusb_urb_init(struct usb_dibusb *dib)
dibusb_urb_complete, dib);
dib->urb_list[i]->transfer_flags = 0;
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,7)
- dib->urb_list[i]->timeout = 0;
-#endif
if ((ret = usb_submit_urb(dib->urb_list[i],GFP_ATOMIC))) {
err("could not submit buffer urb no. %d\n",i);
@@ -200,11 +197,7 @@ int dibusb_urb_exit(struct usb_dibusb *dib)
deb_info("killing URB no. %d.\n",i);
/* stop the URBs */
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,7)
- usb_unlink_urb(dib->urb_list[i]);
-#else
usb_kill_urb(dib->urb_list[i]);
-#endif
deb_info("freeing URB no. %d.\n",i);
/* free the URBs */