]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[SCSI] qla4xxx: fix double printk on load
authorDoug Maxey <dwm@enoyolf.org>
Fri, 6 Oct 2006 04:50:07 +0000 (23:50 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 25 Oct 2006 22:12:07 +0000 (15:12 -0700)
There is a dup printk at the tail of qla4xxx_module_init().  Remove the
first instance as it's before the complete success of the function.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qla4xxx/ql4_os.c

index 178fcddcfd81ec8d245858d859aba70ecd45a9ba..4fa01535fb642068ef540c06004dd29ed0d7cb97 100644 (file)
@@ -1724,13 +1724,13 @@ static int __init qla4xxx_module_init(void)
                goto release_srb_cache;
        }
 
-       printk(KERN_INFO "QLogic iSCSI HBA Driver\n");
        ret = pci_register_driver(&qla4xxx_pci_driver);
        if (ret)
                goto unregister_transport;
 
        printk(KERN_INFO "QLogic iSCSI HBA Driver\n");
        return 0;
+
 unregister_transport:
        iscsi_unregister_transport(&qla4xxx_iscsi_transport);
 release_srb_cache: