]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mtd/maps/pci.c
[MTD] MAPS: Merge Lubbock and Mainstone drivers into common PXA2xx driver
[linux-2.6-omap-h63xx.git] / drivers / mtd / maps / pci.c
index 21822c2edbe40126198990635473c902c06e7dc0..d2ab1bae9c346fbf2168ff59199222f226e6f2cb 100644 (file)
@@ -334,9 +334,6 @@ mtd_pci_probe(struct pci_dev *dev, const struct pci_device_id *id)
        return 0;
 
 release:
-       if (mtd)
-               map_destroy(mtd);
-
        if (map) {
                map->exit(dev, map);
                kfree(map);