upekts: Remove unused argument from deinitsm_new
This commit is contained in:
parent
fcdf1a1ff1
commit
3f3d4559b4
1 changed files with 3 additions and 3 deletions
|
@ -832,7 +832,7 @@ initsm_done (FpiSsm *ssm, FpDevice *dev, GError *error)
|
||||||
}
|
}
|
||||||
|
|
||||||
static FpiSsm *
|
static FpiSsm *
|
||||||
deinitsm_new (FpDevice *dev, void *user_data)
|
deinitsm_new (FpDevice *dev)
|
||||||
{
|
{
|
||||||
return fpi_ssm_new (dev, deinitsm_state_handler, DEINITSM_NUM_STATES);
|
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)
|
do_enroll_stop (FpDevice *dev, FpPrint *print, GError *error)
|
||||||
{
|
{
|
||||||
EnrollStopData *data = g_new0 (EnrollStopData, 1);
|
EnrollStopData *data = g_new0 (EnrollStopData, 1);
|
||||||
FpiSsm *ssm = deinitsm_new (dev, data);
|
FpiSsm *ssm = deinitsm_new (dev);
|
||||||
|
|
||||||
data->print = g_object_ref (print);
|
data->print = g_object_ref (print);
|
||||||
data->error = error;
|
data->error = error;
|
||||||
|
@ -1251,7 +1251,7 @@ static void
|
||||||
do_verify_stop (FpDevice *dev, FpiMatchResult res, GError *error)
|
do_verify_stop (FpDevice *dev, FpiMatchResult res, GError *error)
|
||||||
{
|
{
|
||||||
VerifyStopData *data = g_new0 (VerifyStopData, 1);
|
VerifyStopData *data = g_new0 (VerifyStopData, 1);
|
||||||
FpiSsm *ssm = deinitsm_new (dev, data);
|
FpiSsm *ssm = deinitsm_new (dev);
|
||||||
|
|
||||||
data->res = res;
|
data->res = res;
|
||||||
data->error = error;
|
data->error = error;
|
||||||
|
|
Loading…
Reference in a new issue