mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
qla2x00t: Remove a superfluous check from q2t_remove_target() (merge r4312 from trunk)
git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@4634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -5883,11 +5883,6 @@ static int q2t_remove_target(scsi_qla_host_t *ha)
|
||||
{
|
||||
TRACE_ENTRY();
|
||||
|
||||
if ((ha->q2t_tgt == NULL) || (ha->tgt != NULL)) {
|
||||
PRINT_ERROR("qla2x00t(%ld): Can't remove "
|
||||
"existing target", ha->instance);
|
||||
}
|
||||
|
||||
TRACE_DBG("Unregistering target for host %ld(%p)", ha->host_no, ha);
|
||||
scst_unregister_target(ha->q2t_tgt->scst_tgt);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user