mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 01:31:44 +00:00
[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>
This commit is contained in:
parent
0083208473
commit
45857216f2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user