diff options
author | Richard Weinberger <richard@nod.at> | 2014-10-06 14:47:51 +0200 |
---|---|---|
committer | Stefan Agner <stefan@agner.ch> | 2015-09-01 14:50:56 -0700 |
commit | 5bb25224a45efa7b0304539206e53eb3eb177c4d (patch) | |
tree | e44ac57aa92eaddb4708256d06df9634a739d4f2 /drivers/mtd/ubi/kapi.c | |
parent | 752e52458e012ddf5bb4e1c2887bc869e0f3989f (diff) |
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 <richard@nod.at>
Reviewed-by: Tanya Brokhman <tlinder@codeaurora.org>
Reviewed-by: Guido MartÃnez <guido@vanguardiasur.com.ar>
Diffstat (limited to 'drivers/mtd/ubi/kapi.c')
0 files changed, 0 insertions, 0 deletions