projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
UBI: Clean up return in ubi_remove_volume()
[cascardo/linux.git]
/
drivers
/
mtd
/
ubi
/
vmt.c
diff --git
a/drivers/mtd/ubi/vmt.c
b/drivers/mtd/ubi/vmt.c
index
1ae17bb
..
10059df
100644
(file)
--- a/
drivers/mtd/ubi/vmt.c
+++ b/
drivers/mtd/ubi/vmt.c
@@
-405,7
+405,7
@@
int ubi_remove_volume(struct ubi_volume_desc *desc, int no_vtbl)
if (!no_vtbl)
self_check_volumes(ubi);
- return
err
;
+ return
0
;
out_err:
ubi_err(ubi, "cannot remove volume %d, error %d", vol_id, err);