]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commitadbf05e3ec6ea380ba145b6fa89d9125ed76eb98
tree9da867755d3b915ec1a759658397aaa31bc68263
parent0bf1c4399afee6a2031b0ee943a4c016e53f727c
UBI: simplify debugging return codes

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>
drivers/mtd/ubi/io.c
drivers/mtd/ubi/scan.c
drivers/mtd/ubi/wl.c