Skip to content

Commit badc5b9

Browse files
Lalit ChandivadeJames Bottomley
authored andcommitted
[SCSI] qla4xxx: Remove un-necessary print statment
On ROM lock acquiring timeout failure, driver spews lot of warning messages in a for loop, remove the unwanted warning message to reduce kernel messages clutter. Signed-off-by: Lalit Chandivade <lalit.chandivade@qlogic.com> 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>
1 parent e8fb00e commit badc5b9

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

drivers/scsi/qla4xxx/ql4_nx.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -860,11 +860,8 @@ qla4_8xxx_rom_lock(struct scsi_qla_host *ha)
860860
done = qla4_8xxx_rd_32(ha, QLA82XX_PCIE_REG(PCIE_SEM2_LOCK));
861861
if (done == 1)
862862
break;
863-
if (timeout >= qla4_8xxx_rom_lock_timeout) {
864-
ql4_printk(KERN_WARNING, ha,
865-
"%s: Failed to acquire rom lock", __func__);
863+
if (timeout >= qla4_8xxx_rom_lock_timeout)
866864
return -1;
867-
}
868865

869866
timeout++;
870867

0 commit comments

Comments
 (0)