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:
parent
2f0824ab88
commit
25bc89a4f5
1 changed files with 0 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue