]> bbs.cooldavid.org Git - net-next-2.6.git/commit
UBI: small debugging code optimization
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 12 May 2009 12:10:03 +0000 (15:10 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 18 May 2009 09:28:25 +0000 (12:28 +0300)
commit2cb81e218f336dc5438a960d1ae098188db9ff11
tree27e48e70a69083966c4bfa195083c9132b1973ac
parente1cf7e6dd4ffd4391391e4e08b0fd44681b0e74d
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