/* scsi_eh_done - Completion function for error handling. @scmd: Cmd that is done.  */
static void scsi_eh_done(struct scsi_cmnd *scmd)
/* scsi_eh_done - Completion function for error handling. @scmd: Cmd that is done.  */
static void scsi_eh_done(struct scsi_cmnd *scmd)
{
	struct completion     *eh_action;
	SCSI_LOG_ERROR_RECOVERY(3,
		printk("%s scmd: %p result: %x\n",
			__func__, scmd, scmd->result));
	eh_action = scmd->device->host->eh_action;
	if (eh_action)
		complete(eh_action);
}