From: Chad Dupuis Date: Tue, 15 May 2012 18:34:27 +0000 (-0400) Subject: [SCSI] Revert "qla2xxx: During loopdown perform Diagnostic loopback." X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2c1391d395ef7ba9261b7dd590c5a195315631d6;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git [SCSI] Revert "qla2xxx: During loopdown perform Diagnostic loopback." commit 491118dff9aeb207408bd42aa4897bc2c145747f Author: Saurav Kashyap Date: Tue Aug 16 11:31:50 2011 -0700 [SCSI] qla2xxx: During loopdown perform Diagnostic loopback. The LOOP_DOWN test is not needed. Signed-off-by: Giridhar Malavali Signed-off-by: Chad Dupuis Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/qla2xxx/qla_bsg.c b/drivers/scsi/qla2xxx/qla_bsg.c index 449ac9c2b9c1..c68883806c54 100644 --- a/drivers/scsi/qla2xxx/qla_bsg.c +++ b/drivers/scsi/qla2xxx/qla_bsg.c @@ -708,7 +708,6 @@ qla2x00_process_loopback(struct fc_bsg_job *bsg_job) elreq.options = bsg_job->request->rqst_data.h_vendor.vendor_cmd[1]; if ((ha->current_topology == ISP_CFG_F || - (atomic_read(&vha->loop_state) == LOOP_DOWN) || ((IS_QLA81XX(ha) || IS_QLA8031(ha)) && le32_to_cpu(*(uint32_t *)req_data) == ELS_OPCODE_BYTE && req_data_len == MAX_ELS_FRAME_PAYLOAD)) &&