diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2013-03-25 02:21:39 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-04-06 11:31:46 +0100 |
commit | 4a9fa41bd404b8a572e4af7d2221e423bb729e52 (patch) | |
tree | b020c1420a8c7ee04df61da6ce34f7f32bbc2dbe /drivers/scsi/qla2xxx | |
parent | b03808fdbf98e41391efb732108a6d2fb4e30a76 (diff) |
[SCSI] qla2xxx: Remove debug code that msleeps for random duration.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 1d82eef4e1e..b3db9dcc261 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c @@ -1938,11 +1938,6 @@ qla24xx_vport_delete(struct fc_vport *fc_vport) "Timer for the VP[%d] has stopped\n", vha->vp_idx); } - /* No pending activities shall be there on the vha now */ - if (ql2xextended_error_logging & ql_dbg_user) - msleep(random32()%10); /* Just to see if something falls on - * the net we have placed below */ - BUG_ON(atomic_read(&vha->vref_count)); qla2x00_free_fcports(vha); |