Message ID | 20220318010018.2142089-1-chi.minghao@zte.com.cn |
---|---|
State | New |
Headers | show |
Series | scsi: ipr: Remove useless DMA-32 fallback configuration | expand |
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 104bee9b3a9d..dd8b32b00c9b 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c @@ -10261,11 +10261,8 @@ static int ipr_probe_ioa(struct pci_dev *pdev, if (ioa_cfg->sis64) { rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); - if (rc < 0) { + if (rc < 0) dev_dbg(&pdev->dev, "Failed to set 64 bit DMA mask\n"); - rc = dma_set_mask_and_coherent(&pdev->dev, - DMA_BIT_MASK(32)); - } } else rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));