Revert to Fedora kernel-2.6.17-1.2187_FC5 patched with vs2.0.2.1; there are too many...
[linux-2.6.git] / drivers / mtd / maps / pcmciamtd.c
index c861134..d27f412 100644 (file)
@@ -713,7 +713,6 @@ static void pcmciamtd_detach(struct pcmcia_device *link)
 
        if(dev->mtd_info) {
                del_mtd_device(dev->mtd_info);
-               map_destroy(dev->mtd_info);
                info("mtd%d: Removed", dev->mtd_info->index);
        }