diff --git a/include/sane/sanei_usb.h b/include/sane/sanei_usb.h index c9b5590b3..7aa7300b3 100644 --- a/include/sane/sanei_usb.h +++ b/include/sane/sanei_usb.h @@ -241,20 +241,6 @@ extern SANE_Status sanei_usb_open (SANE_String_Const devname, SANE_Int * dn); */ extern void sanei_usb_close (SANE_Int dn); -/** Get the filename associated with a USB device. - * - * The full filename is stored into a malloc()ed string in devpath that - * the caller must free() after use. - * - * @param dn device number - * @param devpath string pointer - * - * @return - * - SANE_STATUS_GOOD - on success - * - SANE_STATUS_INVAL - on error - */ -extern SANE_Status sanei_usb_get_device_path (SANE_Int dn, SANE_String * devpath); - /** Set the libusb timeout for bulk and interrupt reads. * * @param timeout the new timeout in ms