提交 a41ccf5a 编写于 作者: D Dan Carpenter 提交者: David Woodhouse

mtd: pcmciamtd: remove dead code

This code isn't reachable.  I looked through the git history and it
hasn't been reachable for years.  Someone removed the label to silence
gcc's unused label warning but these few lines accidentally got left
behind.
Signed-off-by: NDan Carpenter <error27@gmail.com>
Acked-by: NDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 cf363518
...@@ -654,10 +654,6 @@ static int pcmciamtd_config(struct pcmcia_device *link) ...@@ -654,10 +654,6 @@ static int pcmciamtd_config(struct pcmcia_device *link)
} }
dev_info(&dev->p_dev->dev, "mtd%d: %s\n", mtd->index, mtd->name); dev_info(&dev->p_dev->dev, "mtd%d: %s\n", mtd->index, mtd->name);
return 0; return 0;
dev_err(&dev->p_dev->dev, "CS Error, exiting\n");
pcmciamtd_release(link);
return -ENODEV;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册