tree 97823923b79d9c5545cf302b24ae4a0d9eee4057 parent afb046e2be724a90f21f7cf0ba50e328005bd038 author Andrew Vasquez <[EMAIL PROTECTED]> Sat, 27 Aug 2005 09:10:00 -0700 committer James Bottomley <[EMAIL PROTECTED](none)> Mon, 05 Sep 2005 05:53:50 -0500
[SCSI] qla2xxx: Remove bad call to fc_remove_host() during probe failure. fc_remove_host() should only be called after a scsi_host has been successfully added via scsi_add_host() -- any failures while qla2xxx probing would result in an incorrect call to fc_remove_host() during cleanup. Signed-off-by: Andrew Vasquez <[EMAIL PROTECTED]> Signed-off-by: James Bottomley <[EMAIL PROTECTED]> drivers/scsi/qla2xxx/qla_os.c | 2 -- 1 files changed, 2 deletions(-) diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c @@ -1586,8 +1586,6 @@ int qla2x00_probe_one(struct pci_dev *pd return 0; probe_failed: - fc_remove_host(ha->host); - qla2x00_free_device(ha); scsi_host_put(host); - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html