From 25bc89a4f57a3d414134ac5e66d28b377b3b1914 Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Mon, 25 Nov 2019 18:40:21 +0100 Subject: [PATCH 007/181] 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. --- libfprint/fp-image-device.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libfprint/fp-image-device.c b/libfprint/fp-image-device.c index 8524e06..65cca16 100644 --- a/libfprint/fp-image-device.c +++ b/libfprint/fp-image-device.c @@ -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 -- 2.24.1