Remove unchecked MTD flags
Several flags are set by some devices, but never checked. Remove them. Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: David Woodhouse <dwmw2@infradead.org>
This commit is contained in:
committed by
David Woodhouse
parent
af63a3bcac
commit
a6c591eda3
@@ -70,7 +70,7 @@ static struct mtd_info *map_ram_probe(struct map_info *map)
|
||||
mtd->read = mapram_read;
|
||||
mtd->write = mapram_write;
|
||||
mtd->sync = mapram_nop;
|
||||
mtd->flags = MTD_CAP_RAM | MTD_VOLATILE;
|
||||
mtd->flags = MTD_CAP_RAM;
|
||||
|
||||
mtd->erasesize = PAGE_SIZE;
|
||||
while(mtd->size & (mtd->erasesize - 1))
|
||||
|
Reference in New Issue
Block a user