[SCSI] qla4xxx: Remove un-necessary print statment
authorLalit Chandivade <lalit.chandivade@qlogic.com>
Mon, 13 Feb 2012 13:00:44 +0000 (18:30 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 15:32:38 +0000 (09:32 -0600)
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>
drivers/scsi/qla4xxx/ql4_nx.c

index 225e921c319edda7705b0982046e8d51be0b002a..af8dcf605a2e2308960d2ce5abfd6fd1e7e18a93 100644 (file)
@@ -860,11 +860,8 @@ qla4_8xxx_rom_lock(struct scsi_qla_host *ha)
                done = qla4_8xxx_rd_32(ha, QLA82XX_PCIE_REG(PCIE_SEM2_LOCK));
                if (done == 1)
                        break;
-               if (timeout >= qla4_8xxx_rom_lock_timeout) {
-                       ql4_printk(KERN_WARNING, ha,
-                           "%s: Failed to acquire rom lock", __func__);
+               if (timeout >= qla4_8xxx_rom_lock_timeout)
                        return -1;
-               }
 
                timeout++;