Commit 77defa1d authored by Bastien Nocera's avatar Bastien Nocera
Browse files

lib: Remove fpi_dev_get_nr_enroll_stages()

It's the same as fp_dev_get_nr_enroll_stages()
parent 5d01497b
......@@ -534,12 +534,6 @@ fpi_dev_get_usb_dev(struct fp_dev *dev)
return dev->udev;
}
int
fpi_dev_get_nr_enroll_stages(struct fp_dev *dev)
{
return dev->nr_enroll_stages;
}
void
fpi_dev_set_nr_enroll_stages(struct fp_dev *dev,
int nr_enroll_stages)
......
......@@ -647,7 +647,7 @@ static int action_completed(struct fp_img_dev *dev)
struct vfs101_dev *vdev = FP_INSTANCE_DATA(FP_DEV(dev));
if ((fpi_imgdev_get_action(dev) == IMG_ACTION_ENROLL) &&
(vdev->enroll_stage < fpi_dev_get_nr_enroll_stages(FP_DEV(dev))))
(vdev->enroll_stage < fp_dev_get_nr_enroll_stages(FP_DEV(dev))))
/* Enroll not completed, return false */
return FALSE;
......
......@@ -38,7 +38,6 @@
#include "drivers/driver_ids.h"
libusb_device_handle *fpi_dev_get_usb_dev(struct fp_dev *dev);
int fpi_dev_get_nr_enroll_stages(struct fp_dev *dev);
void fpi_dev_set_nr_enroll_stages(struct fp_dev *dev, int nr_enroll_stages);
struct fp_print_data *fpi_dev_get_verify_data(struct fp_dev *dev);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment