From 3f3d4559b40e8dc0f4e7c972180644e735c14fbc Mon Sep 17 00:00:00 2001 From: Benjamin Berg Date: Tue, 24 Dec 2019 00:03:14 +0100 Subject: [PATCH] upekts: Remove unused argument from deinitsm_new --- libfprint/drivers/upekts.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libfprint/drivers/upekts.c b/libfprint/drivers/upekts.c index 16534d3..965b3b2 100644 --- a/libfprint/drivers/upekts.c +++ b/libfprint/drivers/upekts.c @@ -832,7 +832,7 @@ initsm_done (FpiSsm *ssm, FpDevice *dev, GError *error) } static FpiSsm * -deinitsm_new (FpDevice *dev, void *user_data) +deinitsm_new (FpDevice *dev) { return fpi_ssm_new (dev, deinitsm_state_handler, DEINITSM_NUM_STATES); } @@ -988,7 +988,7 @@ static void do_enroll_stop (FpDevice *dev, FpPrint *print, GError *error) { EnrollStopData *data = g_new0 (EnrollStopData, 1); - FpiSsm *ssm = deinitsm_new (dev, data); + FpiSsm *ssm = deinitsm_new (dev); data->print = g_object_ref (print); data->error = error; @@ -1251,7 +1251,7 @@ static void do_verify_stop (FpDevice *dev, FpiMatchResult res, GError *error) { VerifyStopData *data = g_new0 (VerifyStopData, 1); - FpiSsm *ssm = deinitsm_new (dev, data); + FpiSsm *ssm = deinitsm_new (dev); data->res = res; data->error = error;