Remove suspect error check, it is not needed

This commit is contained in:
mikee512 2025-05-25 15:47:25 -04:00 committed by Xelef2000
parent 4f8af20586
commit 03cfc742fe

View file

@ -385,7 +385,6 @@ crfpmoc_umockdev_record (FpiDeviceCrfpMoc *self, int res,
{
memset (&buffer[len], '0', size * 2);
len += size * 2;
size = 0;
}
else
{
@ -1075,9 +1074,9 @@ crfpmoc_fp_download_template (FpiDeviceCrfpMoc *self,
{
fp_dbg ("crfpmoc_fp_download_template: retry frame");
}
else if (g_error_matches (*error, G_IO_ERROR, G_IO_ERROR_PERMISSION_DENIED))
else
{
fp_dbg ("Access denied, stopping retrying");
fp_dbg ("Unknown errror, stopping retrying");
break;
}
}