mirror of
https://github.com/SCST-project/scst.git
synced 2026-07-19 22:42:38 +00:00
scst: Avoid complaints about unused variables (merge r5600 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/3.0.x@5927 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -6021,6 +6021,8 @@ static int scst_lun_reset(struct scst_mgmt_cmd *mcmd)
|
||||
TRACE(TRACE_MGMT, "Resetting host %d bus ",
|
||||
dev->scsi_dev->host->host_no);
|
||||
rc = scsi_reset_provider(dev->scsi_dev, SCSI_TRY_RESET_DEVICE);
|
||||
TRACE(TRACE_MGMT, "scsi_reset_provider(%s) returned %d",
|
||||
dev->virt_name, rc);
|
||||
#if 0
|
||||
if (rc != SUCCESS && mcmd->status == SCST_MGMT_STATUS_SUCCESS)
|
||||
scst_mgmt_cmd_set_status(mcmd, SCST_MGMT_STATUS_FAILED);
|
||||
|
||||
Reference in New Issue
Block a user