Commit 7d095651 authored by Benjamin Berg's avatar Benjamin Berg Committed by Marco Trevisan
Browse files

upekts: Remove duplicated err handling path

Closes: #342
parent 2b7cfa75
......@@ -527,15 +527,6 @@ initsm_read_msg_response_cb (FpiSsm *ssm,
fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO,
"Unexpected response subcommand"));
else if (seq != upekdev->seq)
fp_err ("expected response to cmd seq=%02x, got response to %02x "
"in state %d", upekdev->seq, seq,
fpi_ssm_get_cur_state (ssm));
fpi_ssm_mark_failed (ssm,
fpi_device_error_new_msg (FP_DEVICE_ERROR_PROTO,
"Unexpected sequence number in response"));
fpi_ssm_next_state (ssm);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment