UBI: simplify debugging return codes
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 20 Jan 2010 08:28:58 +0000 (10:28 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 1 Feb 2010 13:16:37 +0000 (15:16 +0200)
UBI debugging functions were a little bit over-engineered and
returned more error codes than needed, and the callers had to
do useless checks. Simplify the return codes.

Impact: only debugging code is affected, which means that for
        non-developers this is a no-op patch.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found