diff --git a/drivers/dma/idxd/init.c b/drivers/dma/idxd/init.c index 08a5f43101884fb0d3675b2d4591a06055c533f9..993a5dcca24f6c76cb0044e47492dc6653d27b06 100644 --- a/drivers/dma/idxd/init.c +++ b/drivers/dma/idxd/init.c @@ -604,8 +604,6 @@ static int idxd_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) dev_dbg(dev, "Set DMA masks\n"); rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); - if (rc) - rc = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); if (rc) goto err;