mirror of https://gitee.com/openkylin/linux.git
[PATCH] qla2xxx: Remove bogus debug-code.
Commit 854165f424
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>
This commit is contained in:
parent
387f96b4d9
commit
f7757a5f0f
|
@ -1283,9 +1283,6 @@ int qla2x00_probe_one(struct pci_dev *pdev, struct qla_board_info *brd_info)
|
|||
fc_port_t *fcport;
|
||||
struct scsi_host_template *sht;
|
||||
|
||||
if (PCI_FUNC(pdev->devfn))
|
||||
goto probe_out;
|
||||
|
||||
if (pci_enable_device(pdev))
|
||||
goto probe_out;
|
||||
|
||||
|
|
Loading…
Reference in New Issue