Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a41ccf5a authored by Dan Carpenter's avatar Dan Carpenter Committed by David Woodhouse
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Acked-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent cf363518
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;
}