summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-02-06 12:17:00 -0500
committerTom Rini <trini@konsulko.com>2018-02-06 12:17:00 -0500
commite24bd1e79e223aa89854c0be95a53e2d538144a5 (patch)
tree7849f032f89a62433ca27cc88cbe3eec15b4cd83 /drivers
parentea0211b61f133b6cf9cad690436f60f067c3439a (diff)
parent2d2d306f79e5ae090790fd380662f5407ccace11 (diff)
Merge git://git.denx.de/u-boot-ubi
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/ubi/fastmap-wl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mtd/ubi/fastmap-wl.c b/drivers/mtd/ubi/fastmap-wl.c
index a33d4063e0..b7876a81cb 100644
--- a/drivers/mtd/ubi/fastmap-wl.c
+++ b/drivers/mtd/ubi/fastmap-wl.c
@@ -337,11 +337,6 @@ static void ubi_fastmap_close(struct ubi_device *ubi)
{
int i;
-#ifndef __UBOOT__
- flush_work(&ubi->fm_work);
-#else
- update_fastmap_work_fn(ubi);
-#endif
return_unused_pool_pebs(ubi, &ubi->fm_pool);
return_unused_pool_pebs(ubi, &ubi->fm_wl_pool);