UBIFS: simplify returns
authorFabian Frederick <fabf@skynet.be>
Thu, 12 Mar 2015 20:34:21 +0000 (21:34 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 25 Mar 2015 09:08:41 +0000 (11:08 +0200)
commit8a87dc55f75f19ffdbb52066afea1b633577c79f
tree480a71cc7a26373874fd12906a14c5f4293356c0
parentd3f9db00d04ef1388d7ff24130b9a95099ce1542
UBIFS: simplify returns

Directly return recover_head() and ubifs_leb_unmap()
instead of storing value in err and testing it.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/recovery.c