From 162d66d7a49270fd01ffa08b7437ba6481c7b145 Mon Sep 17 00:00:00 2001 From: Leonardo Francisco Date: Sun, 12 Apr 2026 23:35:57 -0400 Subject: [PATCH] validity: remove MR noise --- .gitignore | 1 - libfprint/drivers/fpcmoc/fpc.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8cd156be..07d73995 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ *.o *.swp _build -__pycache__ \ No newline at end of file diff --git a/libfprint/drivers/fpcmoc/fpc.c b/libfprint/drivers/fpcmoc/fpc.c index 33da2819..466a8096 100644 --- a/libfprint/drivers/fpcmoc/fpc.c +++ b/libfprint/drivers/fpcmoc/fpc.c @@ -272,14 +272,13 @@ static void fpc_cmd_ssm_done (FpiSsm *ssm, FpDevice *dev, GError *error) { FpiDeviceFpcMoc *self = FPI_DEVICE_FPCMOC (dev); - CommandData *data = NULL; + CommandData *data = fpi_ssm_get_data (ssm); self->cmd_ssm = NULL; /* Notify about the SSM failure from here instead. */ if (error) { fp_err ("%s error: %s ", G_STRFUNC, error->message); - data = fpi_ssm_get_data (ssm); if (data->callback) data->callback (self, NULL, error); }