UBIFS: remove dead code
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 25 May 2009 13:59:28 +0000 (16:59 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 29 May 2009 11:38:37 +0000 (14:38 +0300)
commit428ff9d2e37d3a82af0f56b476f70c244cf550d1
tree9274401523df72cfe02ffafc57bbea7f2a9b7a87
parent7c83f5cb551b2e5c4934933fda006636f7424123
UBIFS: remove dead code

UBIFS assumes that @c->min_io_size is 8 in case of NOR flash. This
is because UBIFS alignes all nodes to 8-byte boundary, and maintaining
@c->min_io_size introduced unnecessary complications.

This patch removes senseless constructs like:

if (c->min_io_size == 1)
NOR-specific code

Also, few commentaries amendments.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/budget.c
fs/ubifs/recovery.c