Make mtdblock_ro unconditionally readonly
authorJörn Engel <joern@wohnheim.fh-wedel.de>
Thu, 13 Apr 2006 16:53:55 +0000 (18:53 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 17 Apr 2006 14:48:16 +0000 (15:48 +0100)
commitaf63a3bcac77d8c01f3d963bac11a6f3f9b7c473
tree0c4ce08cb4a1c377e7c0c30aac9eb4c025fd8e9a
parent7f7c08dfdf5bc0a7c906285d9d97b932f83e8979
Make mtdblock_ro unconditionally readonly

mtdblock_ro is by definition readonly.  Remove the silly checks.

Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/mtdblock_ro.c