projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb4a098
)
mtd: nftlcore: remove out-of-date and now irrelevant piece of code
author
Artem Bityutskiy
<artem.bityutskiy@linux.intel.com>
Fri, 3 Feb 2012 09:35:59 +0000
(11:35 +0200)
committer
David Woodhouse
<David.Woodhouse@intel.com>
Mon, 26 Mar 2012 23:24:03 +0000
(
00:24
+0100)
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nftlcore.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nftlcore.c
b/drivers/mtd/nftlcore.c
index
a75382a
..
c5f4ebf
100644
(file)
--- 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);