synaptics: Don't pass always-NULL value

No need to pass "error" to this report function, it will always be NULL.
This commit is contained in:
Bastien Nocera 2020-04-15 15:50:29 +02:00
parent 41e05b1133
commit 5b6f5c9aad

View file

@ -635,7 +635,7 @@ verify_msg_cb (FpiDeviceSynaptics *self,
else if (resp->result == BMKT_FP_NO_MATCH) else if (resp->result == BMKT_FP_NO_MATCH)
{ {
fp_info ("Print didn't match"); fp_info ("Print didn't match");
fpi_device_verify_report (device, FPI_MATCH_FAIL, NULL, error); fpi_device_verify_report (device, FPI_MATCH_FAIL, NULL, NULL);
verify_complete_after_finger_removal (self); verify_complete_after_finger_removal (self);
} }
else if (resp->result == BMKT_FP_DATABASE_NO_RECORD_EXISTS) else if (resp->result == BMKT_FP_DATABASE_NO_RECORD_EXISTS)