summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorAndreas Oberritter <devnull@localhost>2005-03-10 00:29:52 +0000
committerAndreas Oberritter <devnull@localhost>2005-03-10 00:29:52 +0000
commite6c4e7e6fb92c8932e54599640f25f549482d305 (patch)
tree16a4bdd6de91e4a8d620065ef3135ba92b1bfb0b /linux/drivers/media
parent20bc1a33c1c2d67aa8fad05533bfa995d4626e4f (diff)
downloadmediapointer-dvb-s2-e6c4e7e6fb92c8932e54599640f25f549482d305.tar.gz
mediapointer-dvb-s2-e6c4e7e6fb92c8932e54599640f25f549482d305.tar.bz2
removed useless ifdef: dvb_register_adapter always takes 3 parameters in this tree
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c b/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c
index 17b2a2f6e..f71e16007 100644
--- a/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c
+++ b/linux/drivers/media/dvb/dibusb/dvb-dibusb-dvb.c
@@ -125,12 +125,8 @@ int dibusb_dvb_init(struct usb_dibusb *dib)
urb_compl_count = 0;
-#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,4)
- if ((ret = dvb_register_adapter(&dib->adapter, DRIVER_DESC)) < 0) {
-#else
- if ((ret = dvb_register_adapter(&dib->adapter, DRIVER_DESC ,
+ if ((ret = dvb_register_adapter(&dib->adapter, DRIVER_DESC,
THIS_MODULE)) < 0) {
-#endif
deb_info("dvb_register_adapter failed: error %d", ret);
goto err;
}