Message ID | 20220317070314.2138743-1-chi.minghao@zte.com.cn |
---|---|
State | New |
Headers | show |
Series | scsi: csiostor: Remove useless DMA-32 fallback configuration | expand |
diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c index ccbded3353bd..d44cd6da8cb4 100644 --- a/drivers/scsi/csiostor/csio_init.c +++ b/drivers/scsi/csiostor/csio_init.c @@ -204,8 +204,6 @@ csio_pci_init(struct pci_dev *pdev, int *bars) pci_try_set_mwi(pdev); rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); - if (rv) - rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); if (rv) { rv = -ENODEV; dev_err(&pdev->dev, "No suitable DMA available.\n");