diff options
author | Doug Maxey <dwm@enoyolf.org> | 2006-10-06 00:50:07 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-10-25 18:12:07 -0400 |
commit | 5ae16db36988e811410494fb5d07c81e14453e7b (patch) | |
tree | 11a3fe9aa618aa6037f6ff574d813966c49c4351 /drivers/scsi/qla4xxx/ql4_os.c | |
parent | 75c28851c9eee889ef4347ff6f55b2dd1e1ceb81 (diff) |
[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: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_os.c')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c index 178fcddcfd81..4fa01535fb64 100644 --- a/drivers/scsi/qla4xxx/ql4_os.c +++ b/drivers/scsi/qla4xxx/ql4_os.c | |||
@@ -1724,13 +1724,13 @@ static int __init qla4xxx_module_init(void) | |||
1724 | goto release_srb_cache; | 1724 | goto release_srb_cache; |
1725 | } | 1725 | } |
1726 | 1726 | ||
1727 | printk(KERN_INFO "QLogic iSCSI HBA Driver\n"); | ||
1728 | ret = pci_register_driver(&qla4xxx_pci_driver); | 1727 | ret = pci_register_driver(&qla4xxx_pci_driver); |
1729 | if (ret) | 1728 | if (ret) |
1730 | goto unregister_transport; | 1729 | goto unregister_transport; |
1731 | 1730 | ||
1732 | printk(KERN_INFO "QLogic iSCSI HBA Driver\n"); | 1731 | printk(KERN_INFO "QLogic iSCSI HBA Driver\n"); |
1733 | return 0; | 1732 | return 0; |
1733 | |||
1734 | unregister_transport: | 1734 | unregister_transport: |
1735 | iscsi_unregister_transport(&qla4xxx_iscsi_transport); | 1735 | iscsi_unregister_transport(&qla4xxx_iscsi_transport); |
1736 | release_srb_cache: | 1736 | release_srb_cache: |