diff options
Diffstat (limited to 'drivers/mtd/ubi/upd.c')
-rw-r--r-- | drivers/mtd/ubi/upd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/upd.c b/drivers/mtd/ubi/upd.c index e32b04d2e048..3defa579fab0 100644 --- a/drivers/mtd/ubi/upd.c +++ b/drivers/mtd/ubi/upd.c | |||
@@ -343,7 +343,6 @@ int ubi_more_update_data(struct ubi_device *ubi, int vol_id, | |||
343 | if (err == 0) { | 343 | if (err == 0) { |
344 | err = to_write; | 344 | err = to_write; |
345 | vfree(vol->upd_buf); | 345 | vfree(vol->upd_buf); |
346 | vol->updating = 0; | ||
347 | } | 346 | } |
348 | } | 347 | } |
349 | 348 | ||