UBI: Fastmap: Don't allocate new ubi_wl_entry objects
authorRichard Weinberger <richard@nod.at>
Mon, 6 Oct 2014 12:47:51 +0000 (14:47 +0200)
committerRichard Weinberger <richard@nod.at>
Thu, 26 Mar 2015 21:17:47 +0000 (22:17 +0100)
There is no need to allocate new ones every time, we can reuse
the existing ones.
This makes the code cleaner and more easy to follow.

Signed-off-by: Richard Weinberger <richard@nod.at>
Reviewed-by: Tanya Brokhman <tlinder@codeaurora.org>
Reviewed-by: Guido Martínez <guido@vanguardiasur.com.ar>

No differences found