From: Artem Bityutskiy Date: Mon, 29 Jun 2009 12:58:36 +0000 (+0300) Subject: UBI: remove bogus debugging checks X-Git-Tag: Release-2010-05/1~3^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6174b0e2ca88fe9dafeaaa544a05fd942333cd90;p=pandora-kernel.git UBI: remove bogus debugging checks The 'paranoid_check_empty()' is bogus because, which is easilly seen on NOR flash, which has long erase cycles, and which may easilly end-up with half-erased eraseblocks. In this case the paranoid check fails. I is just wrong to assume that PEBs which do not have EC headers always contain all 0xFF. Such assumption should not be made on the I/O level, which is quite low. Thus, just kill the check. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed