aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/pcmciamtd.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/maps/pcmciamtd.c b/drivers/mtd/maps/pcmciamtd.c
index e9ca5ba7d9d2..86c74685eb7b 100644
--- a/drivers/mtd/maps/pcmciamtd.c
+++ b/drivers/mtd/maps/pcmciamtd.c
@@ -654,10 +654,6 @@ static int pcmciamtd_config(struct pcmcia_device *link)
654 } 654 }
655 dev_info(&dev->p_dev->dev, "mtd%d: %s\n", mtd->index, mtd->name); 655 dev_info(&dev->p_dev->dev, "mtd%d: %s\n", mtd->index, mtd->name);
656 return 0; 656 return 0;
657
658 dev_err(&dev->p_dev->dev, "CS Error, exiting\n");
659 pcmciamtd_release(link);
660 return -ENODEV;
661} 657}
662 658
663 659