diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-02-19 21:34:28 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-03-03 07:59:54 -0500 |
commit | 90a289e87648f80b63178c463aa7daaf5205805c (patch) | |
tree | be3b364c166b64551bee5da556cf60bc94b4fef4 | |
parent | dafab8e079f432268cca5cf378b92d6acfacc393 (diff) |
[SCSI] be2iscsi: Remove debug code
This patch removes some debug lines which are unnecessary and
also aligns some lines in code
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-rw-r--r-- | drivers/scsi/be2iscsi/be_iscsi.c | 4 | ||||
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c index 29a3aaf35f9f..c3928cb8b042 100644 --- a/drivers/scsi/be2iscsi/be_iscsi.c +++ b/drivers/scsi/be2iscsi/be_iscsi.c | |||
@@ -482,7 +482,7 @@ static int beiscsi_open_conn(struct iscsi_endpoint *ep, | |||
482 | tag = mgmt_open_connection(phba, dst_addr, beiscsi_ep); | 482 | tag = mgmt_open_connection(phba, dst_addr, beiscsi_ep); |
483 | if (!tag) { | 483 | if (!tag) { |
484 | SE_DEBUG(DBG_LVL_1, | 484 | SE_DEBUG(DBG_LVL_1, |
485 | "mgmt_invalidate_connection Failed for cid=%d \n", | 485 | "mgmt_open_connection Failed for cid=%d \n", |
486 | beiscsi_ep->ep_cid); | 486 | beiscsi_ep->ep_cid); |
487 | } else { | 487 | } else { |
488 | wait_event_interruptible(phba->ctrl.mcc_wait[tag], | 488 | wait_event_interruptible(phba->ctrl.mcc_wait[tag], |
@@ -701,7 +701,7 @@ void beiscsi_conn_stop(struct iscsi_cls_conn *cls_conn, int flag) | |||
701 | if (!tag) { | 701 | if (!tag) { |
702 | SE_DEBUG(DBG_LVL_1, | 702 | SE_DEBUG(DBG_LVL_1, |
703 | "mgmt_invalidate_connection Failed for cid=%d \n", | 703 | "mgmt_invalidate_connection Failed for cid=%d \n", |
704 | beiscsi_ep->ep_cid); | 704 | beiscsi_ep->ep_cid); |
705 | } else { | 705 | } else { |
706 | wait_event_interruptible(phba->ctrl.mcc_wait[tag], | 706 | wait_event_interruptible(phba->ctrl.mcc_wait[tag], |
707 | phba->ctrl.mcc_numtag[tag]); | 707 | phba->ctrl.mcc_numtag[tag]); |
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index aee3734d8617..b5dca45bae96 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c | |||
@@ -3779,7 +3779,6 @@ static int __devinit beiscsi_dev_probe(struct pci_dev *pcidev, | |||
3779 | " Failed in beiscsi_hba_alloc \n"); | 3779 | " Failed in beiscsi_hba_alloc \n"); |
3780 | goto disable_pci; | 3780 | goto disable_pci; |
3781 | } | 3781 | } |
3782 | SE_DEBUG(DBG_LVL_8, " phba = %p \n", phba); | ||
3783 | 3782 | ||
3784 | switch (pcidev->device) { | 3783 | switch (pcidev->device) { |
3785 | case BE_DEVICE_ID1: | 3784 | case BE_DEVICE_ID1: |