From: Artem Bityutskiy Date: Fri, 3 Feb 2012 09:35:59 +0000 (+0200) Subject: mtd: nftlcore: remove out-of-date and now irrelevant piece of code X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=b25675722acf8a81638afb1124b38c4752299fa5;p=deliverable%2Flinux.git mtd: nftlcore: remove out-of-date and now irrelevant piece of code Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- diff --git a/drivers/mtd/nftlcore.c b/drivers/mtd/nftlcore.c index a75382aff5f6..c5f4ebf4b384 100644 --- a/drivers/mtd/nftlcore.c +++ b/drivers/mtd/nftlcore.c @@ -56,13 +56,6 @@ static void nftl_add_mtd(struct mtd_blktrans_ops *tr, struct mtd_info *mtd) if (memcmp(mtd->name, "DiskOnChip", 10)) return; - if (!mtd_can_have_bb(mtd)) { - printk(KERN_ERR -"NFTL no longer supports the old DiskOnChip drivers loaded via docprobe.\n" -"Please use the new diskonchip driver under the NAND subsystem.\n"); - return; - } - pr_debug("NFTL: add_mtd for %s\n", mtd->name); nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);