synaptics: Remove useless code
There is never a fall through if error is not NULL.
This commit is contained in:
parent
31319d9c6f
commit
59824d2122
1 changed files with 1 additions and 2 deletions
|
@ -197,9 +197,8 @@ cmd_interrupt_cb (FpiUsbTransfer *transfer,
|
|||
fpi_ssm_mark_failed (transfer->ssm, error);
|
||||
return;
|
||||
}
|
||||
g_clear_pointer (&error, g_error_free);
|
||||
|
||||
if (transfer->buffer[0] & USB_ASYNC_MESSAGE_PENDING || error)
|
||||
if (transfer->buffer[0] & USB_ASYNC_MESSAGE_PENDING)
|
||||
fpi_ssm_next_state (transfer->ssm);
|
||||
else
|
||||
fpi_usb_transfer_submit (transfer, 1000, NULL, cmd_interrupt_cb, NULL);
|
||||
|
|
Loading…
Reference in a new issue