upeksonly: Remove ABORT_SSM constant
This was not used. The old driver used this if creating a USB transfer failed, however, we delay any such failures (which cannot really happen) into the callback today, where the error is handled differently.
This commit is contained in:
parent
60d0f84294
commit
570daf2321
1 changed files with 0 additions and 8 deletions
|
@ -47,9 +47,6 @@ enum {
|
||||||
enum sonly_kill_transfers_action {
|
enum sonly_kill_transfers_action {
|
||||||
NOT_KILLING = 0,
|
NOT_KILLING = 0,
|
||||||
|
|
||||||
/* abort a SSM with an error code */
|
|
||||||
ABORT_SSM,
|
|
||||||
|
|
||||||
/* report an image session error */
|
/* report an image session error */
|
||||||
IMG_SESSION_ERROR,
|
IMG_SESSION_ERROR,
|
||||||
|
|
||||||
|
@ -176,11 +173,6 @@ last_transfer_killed (FpImageDevice *dev)
|
||||||
|
|
||||||
switch (self->killing_transfers)
|
switch (self->killing_transfers)
|
||||||
{
|
{
|
||||||
case ABORT_SSM:
|
|
||||||
fp_dbg ("abort ssm error %s", self->kill_error->message);
|
|
||||||
fpi_ssm_mark_failed (self->kill_ssm, g_steal_pointer (&self->kill_error));
|
|
||||||
return;
|
|
||||||
|
|
||||||
case ITERATE_SSM:
|
case ITERATE_SSM:
|
||||||
fp_dbg ("iterate ssm");
|
fp_dbg ("iterate ssm");
|
||||||
fpi_ssm_next_state (self->kill_ssm);
|
fpi_ssm_next_state (self->kill_ssm);
|
||||||
|
|
Loading…
Reference in a new issue