- Update Xen patches to 3.3-rc5 and c/s 1157.
[linux-flexiantxendom0-3.2.10.git] / drivers / dma / ioat / pci.c
index 5e3a40f..efec888 100644 (file)
@@ -29,7 +29,6 @@
 #include <linux/module.h>
 #include <linux/pci.h>
 #include <linux/interrupt.h>
-#include <linux/dca.h>
 #include <linux/slab.h>
 #include "dma.h"
 #include "dma_v2.h"
@@ -181,11 +180,7 @@ static void __devexit ioat_remove(struct pci_dev *pdev)
                return;
 
        dev_err(&pdev->dev, "Removing dma and dca services\n");
-       if (device->dca) {
-               unregister_dca_provider(device->dca, &pdev->dev);
-               free_dca_provider(device->dca);
-               device->dca = NULL;
-       }
+       ioat_remove_dca_provider(pdev);
        ioat_dma_remove(device);
 }