mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
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: Dan Carpenter <error27@gmail.com> Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
This commit is contained in:
parent
cf363518ca
commit
a41ccf5a3e
@ -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);
|
||||
return 0;
|
||||
|
||||
dev_err(&dev->p_dev->dev, "CS Error, exiting\n");
|
||||
pcmciamtd_release(link);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user