Skip to content

Commit

Permalink
mtd: nftlcore: remove out-of-date and now irrelevant piece of code
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Bityutskiy <[email protected]>
Signed-off-by: David Woodhouse <[email protected]>
  • Loading branch information
dedekind authored and David Woodhouse committed Mar 26, 2012
1 parent bb4a098 commit b256757
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/mtd/nftlcore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b256757

Please sign in to comment.