diff options
author | andrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com> | 2006-02-07 11:45:30 -0500 |
---|---|---|
committer | <jejb@mulgrave.il.steeleye.com> | 2006-02-07 11:54:02 -0500 |
commit | f7757a5f0fa94a0ce4d6ea55f440845bb3faf712 (patch) | |
tree | d4bf2378064586cfb316aaa8c0a259cd99c279ac /drivers | |
parent | 387f96b4d9391bf3ce6928fb9cd90c9c7df37291 (diff) |
[PATCH] qla2xxx: Remove bogus debug-code.
Commit 854165f4245c4a3b4a8cc363ba2050033151e196
inadvertently added some code meant only for testing -- the
driver was ignoring the non-zero function numbers of a
multi-port HBA.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 9b5a10ac3e25..9f91f1a20542 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -1283,9 +1283,6 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info) | |||
1283 | fc_port_t *fcport; | 1283 | fc_port_t *fcport; |
1284 | struct scsi_host_template *sht; | 1284 | struct scsi_host_template *sht; |
1285 | 1285 | ||
1286 | if (PCI_FUNC(pdev->devfn)) | ||
1287 | goto probe_out; | ||
1288 | |||
1289 | if (pci_enable_device(pdev)) | 1286 | if (pci_enable_device(pdev)) |
1290 | goto probe_out; | 1287 | goto probe_out; |
1291 | 1288 | ||