From: Artem Bityutskiy Date: Thu, 2 Sep 2010 23:11:20 +0000 (+0300) Subject: UBI: remove duplicate IO error codes X-Git-Tag: v2.6.37-rc1~169^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74d82d2660058e32644f0c673656b2a1d01d3688;p=pandora-kernel.git UBI: remove duplicate IO error codes The 'UBI_IO_PEB_EMPTY' and 'UBI_IO_PEB_FREE' are essentially the same and mean that there are only 0xFF bytes instead of headers. Simplify UBI a little by turning them into a single 'UBI_IO_FF' error code. Also, stop maintaining commentaries in 'ubi_io_read_vid_hdr()' which are almost identical to commentaries in 'ubi_io_read_ec_hdr()'. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed