summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */