Dead code in ricoh2 backend?
I've been looking at the code of the ricoh2 backend
It seems strange that sanei_usb_find_devices() is called for a list of devices on lines 290-293, but then it is called strangely on lines 314 and 315:
sanei_usb_find_devices (0x5ca, 0x042c, attach);
sanei_usb_find_devices (0x5ca, 0x0448, attach);
Seems that lines 314 and 315 are useless. But, if just remove them, code above and bellow in sane_get_devices() still seems strange, for example num_devices seems to always be 0...
CC @yu_stas , Stanislav, maybe you could have a look at this... I don;t have hardware for tests.