diff options
Diffstat (limited to 'drivers/mtd/devices/doc2001plus.c')
-rw-r--r-- | drivers/mtd/devices/doc2001plus.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/devices/doc2001plus.c b/drivers/mtd/devices/doc2001plus.c index a472bab7ef2b..4a03d869ad03 100644 --- a/drivers/mtd/devices/doc2001plus.c +++ b/drivers/mtd/devices/doc2001plus.c | |||
@@ -792,7 +792,6 @@ static int doc_write(struct mtd_info *mtd, loff_t to, size_t len, | |||
792 | printk("MTD: Error 0x%x programming at 0x%x\n", dummy, (int)to); | 792 | printk("MTD: Error 0x%x programming at 0x%x\n", dummy, (int)to); |
793 | /* Error in programming | 793 | /* Error in programming |
794 | FIXME: implement Bad Block Replacement (in nftl.c ??) */ | 794 | FIXME: implement Bad Block Replacement (in nftl.c ??) */ |
795 | *retlen = 0; | ||
796 | ret = -EIO; | 795 | ret = -EIO; |
797 | } | 796 | } |
798 | dummy = ReadDOC(docptr, Mplus_LastDataRead); | 797 | dummy = ReadDOC(docptr, Mplus_LastDataRead); |