diff options
author | Jörn Engel <joern@wohnheim.fh-wedel.de> | 2006-04-13 12:54:34 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-04-17 10:48:17 -0400 |
commit | a6c591eda3078f92e7a3ff3db55f6841e4819fb5 (patch) | |
tree | 1d1c2ab720bc9931f00b8cc177878a6ad8ec5651 /drivers/mtd/chips/map_ram.c | |
parent | af63a3bcac77d8c01f3d963bac11a6f3f9b7c473 (diff) |
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>
Diffstat (limited to 'drivers/mtd/chips/map_ram.c')
-rw-r--r-- | drivers/mtd/chips/map_ram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/chips/map_ram.c b/drivers/mtd/chips/map_ram.c index bd2e876a814b..763925747db6 100644 --- a/drivers/mtd/chips/map_ram.c +++ b/drivers/mtd/chips/map_ram.c | |||
@@ -70,7 +70,7 @@ static struct mtd_info *map_ram_probe(struct map_info *map) | |||
70 | mtd->read = mapram_read; | 70 | mtd->read = mapram_read; |
71 | mtd->write = mapram_write; | 71 | mtd->write = mapram_write; |
72 | mtd->sync = mapram_nop; | 72 | mtd->sync = mapram_nop; |
73 | mtd->flags = MTD_CAP_RAM | MTD_VOLATILE; | 73 | mtd->flags = MTD_CAP_RAM; |
74 | 74 | ||
75 | mtd->erasesize = PAGE_SIZE; | 75 | mtd->erasesize = PAGE_SIZE; |
76 | while(mtd->size & (mtd->erasesize - 1)) | 76 | while(mtd->size & (mtd->erasesize - 1)) |