|
@@ -434,8 +434,7 @@ static void scsi_eh_times_out(struct scsi_cmnd *scmd)
|
|
|
SCSI_LOG_ERROR_RECOVERY(3, printk("%s: scmd:%p\n", __FUNCTION__,
|
|
|
scmd));
|
|
|
|
|
|
- if (scmd->device->host->eh_action)
|
|
|
- up(scmd->device->host->eh_action);
|
|
|
+ up(scmd->device->host->eh_action);
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -457,8 +456,7 @@ static void scsi_eh_done(struct scsi_cmnd *scmd)
|
|
|
SCSI_LOG_ERROR_RECOVERY(3, printk("%s scmd: %p result: %x\n",
|
|
|
__FUNCTION__, scmd, scmd->result));
|
|
|
|
|
|
- if (scmd->device->host->eh_action)
|
|
|
- up(scmd->device->host->eh_action);
|
|
|
+ up(scmd->device->host->eh_action);
|
|
|
}
|
|
|
}
|
|
|
|