]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[SCSI] qla4xxx: Remove unused code
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Mon, 13 Feb 2012 13:00:40 +0000 (18:30 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 15:30:36 +0000 (09:30 -0600)
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>
drivers/scsi/qla4xxx/ql4_nx.c

index 78f1111158d75379d4d1c1ef04a139889c280d3d..225e921c319edda7705b0982046e8d51be0b002a 100644 (file)
@@ -1015,18 +1015,6 @@ qla4_8xxx_pinit_from_rom(struct scsi_qla_host *ha, int verbose)
        else
                qla4_8xxx_wr_32(ha, QLA82XX_ROMUSB_GLB_SW_RESET, 0xffffffff);
 
-       /* reset ms */
-       val = qla4_8xxx_rd_32(ha, QLA82XX_CRB_QDR_NET + 0xe4);
-       val |= (1 << 1);
-       qla4_8xxx_wr_32(ha, QLA82XX_CRB_QDR_NET + 0xe4, val);
-
-       msleep(20);
-       /* unreset ms */
-       val = qla4_8xxx_rd_32(ha, QLA82XX_CRB_QDR_NET + 0xe4);
-       val &= ~(1 << 1);
-       qla4_8xxx_wr_32(ha, QLA82XX_CRB_QDR_NET + 0xe4, val);
-       msleep(20);
-
        qla4_8xxx_rom_unlock(ha);
 
        /* Read the signature value from the flash.