Skip to content

Commit

Permalink
[SCSI] qla4xxx: fix double printk on load
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Doug Maxey authored and James Bottomley committed Oct 25, 2006
1 parent 75c2885 commit 5ae16db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/scsi/qla4xxx/ql4_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5ae16db

Please sign in to comment.