/* sync_completion: Signal that a synchronous command has completed Note that after returning from this call, the evt_struct is freed. the caller waiting on this completion shouldn't touch the evt_struct again.  */
static void sync_completion(struct srp_event_struct *evt_struct)
/* sync_completion: Signal that a synchronous command has completed Note that after returning from this call, the evt_struct is freed. the caller waiting on this completion shouldn't touch the evt_struct again.  */
static void sync_completion(struct srp_event_struct *evt_struct)
{
	if (evt_struct->sync_srp)
		*evt_struct->sync_srp = *evt_struct->xfer_iu;
	complete(&evt_struct->comp);
}