mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 13:46:25 +00:00
qla2x00t-32gbit: Remove unreachable code from qla83xx_idc_lock()
This was detected by Coverity. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8378 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5750,7 +5750,6 @@ exit:
|
||||
void
|
||||
qla83xx_idc_lock(scsi_qla_host_t *base_vha, uint16_t requester_id)
|
||||
{
|
||||
uint16_t options = (requester_id << 15) | BIT_6;
|
||||
uint32_t data;
|
||||
uint32_t lock_owner;
|
||||
struct qla_hw_data *ha = base_vha->hw;
|
||||
@@ -5783,22 +5782,6 @@ retry_lock:
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
/* XXX: IDC-lock implementation using access-control mbx */
|
||||
retry_lock2:
|
||||
if (qla83xx_access_control(base_vha, options, 0, 0, NULL)) {
|
||||
ql_dbg(ql_dbg_p3p, base_vha, 0xb072,
|
||||
"Failed to acquire IDC lock. retrying...\n");
|
||||
/* Retry/Perform IDC-Lock recovery */
|
||||
if (qla83xx_idc_lock_recovery(base_vha) == QLA_SUCCESS) {
|
||||
qla83xx_wait_logic();
|
||||
goto retry_lock2;
|
||||
} else
|
||||
ql_log(ql_log_warn, base_vha, 0xb076,
|
||||
"IDC Lock recovery FAILED.\n");
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user