Revert "cxl: Add support for using the kernel API with a real PHB"
[linux-2.6-block.git] / drivers / misc / cxl / pci.c
index 9c5a21fee83546f2a8f7a5da102bcaacab0726f3..193ff22f610b69833554cc1163a6cbd8801867f2 100644 (file)
@@ -1886,9 +1886,6 @@ static int cxl_probe(struct pci_dev *dev, const struct pci_device_id *id)
                        dev_err(&dev->dev, "AFU %i failed to start: %i\n", slice, rc);
        }
 
-       if (pnv_pci_on_cxl_phb(dev) && adapter->slices >= 1)
-               pnv_cxl_phb_set_peer_afu(dev, adapter->afu[0]);
-
        return 0;
 }