aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2012-02-03 04:35:59 -0500
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-26 19:24:03 -0400
commitb25675722acf8a81638afb1124b38c4752299fa5 (patch)
tree3eb5843bd3bd505e81bd894ff6d2c215657e5b66 /drivers/mtd
parentbb4a09866faebe33bf842ecb864fef2ce042b01c (diff)
mtd: nftlcore: remove out-of-date and now irrelevant piece of code
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nftlcore.c7
1 files changed, 0 insertions, 7 deletions
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)
56 if (memcmp(mtd->name, "DiskOnChip", 10)) 56 if (memcmp(mtd->name, "DiskOnChip", 10))
57 return; 57 return;
58 58
59 if (!mtd_can_have_bb(mtd)) {
60 printk(KERN_ERR
61"NFTL no longer supports the old DiskOnChip drivers loaded via docprobe.\n"
62"Please use the new diskonchip driver under the NAND subsystem.\n");
63 return;
64 }
65
66 pr_debug("NFTL: add_mtd for %s\n", mtd->name); 59 pr_debug("NFTL: add_mtd for %s\n", mtd->name);
67 60
68 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL); 61 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);