From 0d95b343eb9c8f6d25b875d1f70266f48e8c3a21 Mon Sep 17 00:00:00 2001 From: Patrick Boettcher Date: Sun, 9 Jan 2005 18:14:47 +0000 Subject: remove backward compatibility stuff, as correctly suggested by Johannes --- linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'linux/drivers/media/dvb/dibusb/dvb-dibusb-usb.c') 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 */ -- cgit v1.2.3