UBI: fix missing brace control flow
authorBrian Norris <computersforpeace@gmail.com>
Mon, 23 Feb 2015 21:07:22 +0000 (13:07 -0800)
committerRichard Weinberger <richard@nod.at>
Mon, 23 Feb 2015 21:17:24 +0000 (22:17 +0100)
commitb388e6a7a6ba988998ddd83919ae8d3debf1a13d
tree2c5f72cbad445259acf429995d9249bde6ae1f13
parent3d883483dc0a7261d73d8b1857a7387a1dd99eee
UBI: fix missing brace control flow

commit 0e707ae79ba3 ("UBI: do propagate positive error codes up") seems
to have produced an unintended change in the control flow here.

Completely untested, but it looks obvious.

Caught by Coverity, which didn't like the indentation. CID 1271184.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Cc: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/eba.c