From: Artem Bityutskiy Date: Fri, 30 Apr 2010 13:50:22 +0000 (+0300) Subject: UBI: simplify IO error codes X-Git-Tag: v2.6.36-rc1~586^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=786d78318586cbdc8aec539fe5a4942490267fef;p=pandora-kernel.git UBI: simplify IO error codes We do not really need 2 separate error codes for indicating bad VID and bad EC headers (UBI_IO_BAD_EC_HDR, UBI_IO_BAD_VID_HDR), it is enough to have only one UBI_IO_BAD_HDR return code. This patch does not introduce any functional change, only some code simplification. Signed-off-by: Artem Bityutskiy Reviewed-by: Sebastian Andrzej Siewior Tested-by: Sebastian Andrzej Siewior --- Reading git-diff-tree failed