From: Richard Weinberger Date: Mon, 6 Oct 2014 12:47:51 +0000 (+0200) Subject: UBI: Fastmap: Don't allocate new ubi_wl_entry objects X-Git-Tag: omap-for-v4.2/o2_dc~125^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4ca6be9d67eaf5a53054903530c8f422b4b88bd;p=pandora-kernel.git UBI: Fastmap: Don't allocate new ubi_wl_entry objects 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 Reviewed-by: Tanya Brokhman Reviewed-by: Guido Martínez --- Reading git-diff-tree failed