Commit 5ae16db3 authored by Doug Maxey's avatar Doug Maxey Committed by James Bottomley

[SCSI] qla4xxx: fix double printk on load

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: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 75c28851
...@@ -1724,13 +1724,13 @@ static int __init qla4xxx_module_init(void) ...@@ -1724,13 +1724,13 @@ static int __init qla4xxx_module_init(void)
goto release_srb_cache; goto release_srb_cache;
} }
printk(KERN_INFO "QLogic iSCSI HBA Driver\n");
ret = pci_register_driver(&qla4xxx_pci_driver); ret = pci_register_driver(&qla4xxx_pci_driver);
if (ret) if (ret)
goto unregister_transport; goto unregister_transport;
printk(KERN_INFO "QLogic iSCSI HBA Driver\n"); printk(KERN_INFO "QLogic iSCSI HBA Driver\n");
return 0; return 0;
unregister_transport: unregister_transport:
iscsi_unregister_transport(&qla4xxx_iscsi_transport); iscsi_unregister_transport(&qla4xxx_iscsi_transport);
release_srb_cache: release_srb_cache:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment