Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dan Carpenter and committed by
David Woodhouse
a41ccf5a cf363518

-4
-4
drivers/mtd/maps/pcmciamtd.c
··· 654 654 } 655 655 dev_info(&dev->p_dev->dev, "mtd%d: %s\n", mtd->index, mtd->name); 656 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