Bernd says the removed code was needed for Ubuntu 10.04 LTS kernel, but
it's better to remove it and solve any problems for that kernel another
way.
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
dev_dbg(dev, "comedi_: usbdux: "
"usbduxsub[%d] is ready to connect to comedi.\n", index);
-#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,33)
- sema_init(&(usbduxsub[index].sem), 1);
-#else
mutex_init(&(usbduxsub[index].sem));
-#endif
/* save a pointer to the usb device */
usbduxsub[index].usbdev = udev;