upeksonly: Remove callback support after killing transfers

This seems to have been unused even before the v2 port.
This commit is contained in:
Benjamin Berg 2020-06-02 16:36:00 +02:00
parent 570daf2321
commit 7d9245505f

View file

@ -52,9 +52,6 @@ enum sonly_kill_transfers_action {
/* iterate a SSM to the next state */ /* iterate a SSM to the next state */
ITERATE_SSM, ITERATE_SSM,
/* call a callback */
EXEC_CALLBACK,
}; };
enum sonly_fs { enum sonly_fs {
@ -94,13 +91,9 @@ struct _FpiDeviceUpeksonly
enum sonly_kill_transfers_action killing_transfers; enum sonly_kill_transfers_action killing_transfers;
GError *kill_error; GError *kill_error;
union FpiSsm *kill_ssm;
{
FpiSsm *kill_ssm;
void (*kill_cb)(FpImageDevice *dev);
};
struct fpi_line_asmbl_ctx assembling_ctx; struct fpi_line_asmbl_ctx assembling_ctx;
}; };
G_DECLARE_FINAL_TYPE (FpiDeviceUpeksonly, fpi_device_upeksonly, FPI, G_DECLARE_FINAL_TYPE (FpiDeviceUpeksonly, fpi_device_upeksonly, FPI,
DEVICE_UPEKSONLY, FpImageDevice); DEVICE_UPEKSONLY, FpImageDevice);