aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx/ql4_nx.c
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2012-02-13 08:00:40 -0500
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 10:30:36 -0500
commit45857216f2a513872efc965f66bca21ace0980fd (patch)
tree8bd1065aba330da3c5e62b2d482a0e3aff06b32d /drivers/scsi/qla4xxx/ql4_nx.c
parent0083208473d3d9a87dcdffaf36a2dbe718dfe282 (diff)
[SCSI] qla4xxx: Remove unused code
This code initially added for FW debugging, we don't need this code now so taking it out. Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_nx.c')
-rw-r--r--drivers/scsi/qla4xxx/ql4_nx.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_nx.c b/drivers/scsi/qla4xxx/ql4_nx.c
index 78f1111158d7..225e921c319e 100644
--- a/drivers/scsi/qla4xxx/ql4_nx.c
+++ b/drivers/scsi/qla4xxx/ql4_nx.c
@@ -1015,18 +1015,6 @@ qla4_8xxx_pinit_from_rom(struct scsi_qla_host *ha, int verbose)
1015 else 1015 else
1016 qla4_8xxx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, 0xffffffff); 1016 qla4_8xxx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, 0xffffffff);
1017 1017
1018 /* reset ms */
1019 val = qla4_8xxx_rd_32(ha, QLA82XX_CRB_QDR_NET + 0xe4);
1020 val |= (1 << 1);
1021 qla4_8xxx_wr_32(ha, QLA82XX_CRB_QDR_NET + 0xe4, val);
1022
1023 msleep(20);
1024 /* unreset ms */
1025 val = qla4_8xxx_rd_32(ha, QLA82XX_CRB_QDR_NET + 0xe4);
1026 val &= ~(1 << 1);
1027 qla4_8xxx_wr_32(ha, QLA82XX_CRB_QDR_NET + 0xe4, val);
1028 msleep(20);
1029
1030 qla4_8xxx_rom_unlock(ha); 1018 qla4_8xxx_rom_unlock(ha);
1031 1019
1032 /* Read the signature value from the flash. 1020 /* Read the signature value from the flash.