Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Artem Bityutskiy and committed by
David Woodhouse
b2567572 bb4a0986

-7
-7
drivers/mtd/nftlcore.c
··· 56 56 if (memcmp(mtd->name, "DiskOnChip", 10)) 57 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 59 pr_debug("NFTL: add_mtd for %s\n", mtd->name); 67 60 68 61 nftl = kzalloc(sizeof(struct NFTLrecord), GFP_KERNEL);