From 6b1ca1bdabdf19f7d37b01572fe6ba920d0d4c0d Mon Sep 17 00:00:00 2001 From: Jayamohan Kallickal Date: Wed, 6 Oct 2010 23:46:03 +0530 Subject: [PATCH] --- yaml --- r: 213385 b: refs/heads/master c: af4c609c0d645f196b570c58dd4ee878ff3afd24 h: refs/heads/master i: 213383: f798c0d162ddd7d732d42159ff14f5dffcd26537 v: v3 --- [refs] | 2 +- trunk/drivers/scsi/be2iscsi/be_iscsi.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/[refs] b/[refs] index a8091ea06de2..5cc839908f40 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 91446f060b9ae27875d38b00dc3c6394b8321bff +refs/heads/master: af4c609c0d645f196b570c58dd4ee878ff3afd24 diff --git a/trunk/drivers/scsi/be2iscsi/be_iscsi.c b/trunk/drivers/scsi/be2iscsi/be_iscsi.c index 7d4d2275573c..8b897c80ec7a 100644 --- a/trunk/drivers/scsi/be2iscsi/be_iscsi.c +++ b/trunk/drivers/scsi/be2iscsi/be_iscsi.c @@ -523,7 +523,6 @@ static int beiscsi_open_conn(struct iscsi_endpoint *ep, if (beiscsi_ep->ep_cid > (phba->fw_config.iscsi_cid_start + phba->params.cxns_per_ctrl * 2)) { SE_DEBUG(DBG_LVL_1, "Failed in allocate iscsi cid\n"); - beiscsi_put_cid(phba, beiscsi_ep->ep_cid); goto free_ep; } @@ -560,7 +559,6 @@ static int beiscsi_open_conn(struct iscsi_endpoint *ep, SE_DEBUG(DBG_LVL_1, "mgmt_open_connection Failed" " status = %d extd_status = %d\n", status, extd_status); - beiscsi_put_cid(phba, beiscsi_ep->ep_cid); free_mcc_tag(&phba->ctrl, tag); pci_free_consistent(phba->ctrl.pdev, nonemb_cmd.size, nonemb_cmd.va, nonemb_cmd.dma); @@ -575,7 +573,6 @@ static int beiscsi_open_conn(struct iscsi_endpoint *ep, beiscsi_ep->cid_vld = 1; SE_DEBUG(DBG_LVL_8, "mgmt_open_connection Success\n"); } - beiscsi_put_cid(phba, beiscsi_ep->ep_cid); pci_free_consistent(phba->ctrl.pdev, nonemb_cmd.size, nonemb_cmd.va, nonemb_cmd.dma); return 0;