From 42d320f4003033d962e78ea73bf965426f481356 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Tue, 22 May 2012 01:13:20 +0000 Subject: [PATCH] Cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4312 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- qla2x00t/qla2x00-target/qla2x00t.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/qla2x00t/qla2x00-target/qla2x00t.c b/qla2x00t/qla2x00-target/qla2x00t.c index f965064ed..6fb7865a6 100644 --- a/qla2x00t/qla2x00-target/qla2x00t.c +++ b/qla2x00t/qla2x00-target/qla2x00t.c @@ -5863,11 +5863,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); /*