]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
UBI: fastmap: use ubi_find_volume() instead of open coding it
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 16 Sep 2016 14:59:09 +0000 (16:59 +0200)
committerRichard Weinberger <richard@nod.at>
Sun, 2 Oct 2016 20:48:14 +0000 (22:48 +0200)
commitf5f9d43f0a61e636008e2325c1c6178bd5b0da27
tree32b3d107c46cd95de3a743dab0e709cb745c6e01
parent3be7988674ab33565700a37b210f502563d932e6
UBI: fastmap: use ubi_find_volume() instead of open coding it

process_pool_aeb() re-implements the logic found in ubi_find_volume().
Call ubi_find_volume() to avoid this duplication.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/ubi/fastmap.c