We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8001fa2 commit 012d98dCopy full SHA for 012d98d
drivers/scsi/bfa/bfad.c
@@ -732,9 +732,6 @@ bfad_pci_init(struct pci_dev *pdev, struct bfad_s *bfad)
732
pci_set_master(pdev);
733
734
rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
735
- if (rc)
736
- rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
737
-
738
if (rc) {
739
rc = -ENODEV;
740
printk(KERN_ERR "dma_set_mask_and_coherent fail %p\n", pdev);
@@ -1559,9 +1556,6 @@ bfad_pci_slot_reset(struct pci_dev *pdev)
1559
1556
1560
1557
1561
1558
rc = dma_set_mask_and_coherent(&bfad->pcidev->dev, DMA_BIT_MASK(64));
1562
1563
- rc = dma_set_mask_and_coherent(&bfad->pcidev->dev,
1564
- DMA_BIT_MASK(32));
1565
if (rc)
1566
goto out_disable_device;
1567
0 commit comments