Blame SOURCES/0007-image-device-Remove-unused-fpi_device_get_current_ac.patch

73b847
From 25bc89a4f57a3d414134ac5e66d28b377b3b1914 Mon Sep 17 00:00:00 2001
73b847
From: Benjamin Berg <bberg@redhat.com>
73b847
Date: Mon, 25 Nov 2019 18:40:21 +0100
73b847
Subject: [PATCH 007/181] image-device: Remove unused
73b847
 fpi_device_get_current_action call
73b847
73b847
There is a later call in the function which is sufficient. Simply remove
73b847
the first call.
73b847
---
73b847
 libfprint/fp-image-device.c | 2 --
73b847
 1 file changed, 2 deletions(-)
73b847
73b847
diff --git a/libfprint/fp-image-device.c b/libfprint/fp-image-device.c
73b847
index 8524e06..65cca16 100644
73b847
--- a/libfprint/fp-image-device.c
73b847
+++ b/libfprint/fp-image-device.c
73b847
@@ -493,8 +493,6 @@ fpi_image_device_report_finger_status (FpImageDevice *self,
73b847
   FpImageDevicePrivate *priv = fp_image_device_get_instance_private (self);
73b847
   FpDeviceAction action;
73b847
 
73b847
-  action = fpi_device_get_current_action (device);
73b847
-
73b847
   if (priv->state == FP_IMAGE_DEVICE_STATE_INACTIVE)
73b847
     {
73b847
       /* Do we really want to always ignore such reports? We could
73b847
-- 
73b847
2.24.1
73b847