image-device: Remove unused fpi_device_get_current_action call

There is a later call in the function which is sufficient. Simply remove
the first call.
This commit is contained in:
Benjamin Berg 2019-11-25 18:40:21 +01:00
parent 2f0824ab88
commit 25bc89a4f5

View file

@ -493,8 +493,6 @@ fpi_image_device_report_finger_status (FpImageDevice *self,
FpImageDevicePrivate *priv = fp_image_device_get_instance_private (self);
FpDeviceAction action;
action = fpi_device_get_current_action (device);
if (priv->state == FP_IMAGE_DEVICE_STATE_INACTIVE)
{
/* Do we really want to always ignore such reports? We could