mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
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:
@@ -493,8 +493,6 @@ fpi_image_device_report_finger_status (FpImageDevice *self,
|
|||||||
FpImageDevicePrivate *priv = fp_image_device_get_instance_private (self);
|
FpImageDevicePrivate *priv = fp_image_device_get_instance_private (self);
|
||||||
FpDeviceAction action;
|
FpDeviceAction action;
|
||||||
|
|
||||||
action = fpi_device_get_current_action (device);
|
|
||||||
|
|
||||||
if (priv->state == FP_IMAGE_DEVICE_STATE_INACTIVE)
|
if (priv->state == FP_IMAGE_DEVICE_STATE_INACTIVE)
|
||||||
{
|
{
|
||||||
/* Do we really want to always ignore such reports? We could
|
/* Do we really want to always ignore such reports? We could
|
||||||
|
|||||||
Reference in New Issue
Block a user