UBI: small debugging code optimization
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 12 May 2009 12:10:03 +0000 (15:10 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Fri, 17 Jul 2009 13:04:21 +0000 (16:04 +0300)
commit5d8f3f8aa1cf32d086afd2ce0384892edc45b17c
tree1205da44ce2b047f3000d74a209e8f2c463b0125
parent2bb0440dd86b8acb5f610e4b65a930ad8a9f6cc2
UBI: small debugging code optimization

The @ubi->dbg_peb_buf is needed only when paranoid checks are
enabled, not when debugging in general is enabled.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/build.c
drivers/mtd/ubi/ubi.h