commit | fadb3665bad96be8f696e4899ee0f618536d54c7 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Apr 13 09:41:26 2016 +0300 |
committer | Richard Weinberger <richard@nod.at> | Tue May 24 15:24:26 2016 +0200 |
tree | 7eb7fa6a48f528f04864dfad0ce58080911b6e4f | |
parent | 960b35d06b6d6b377fd47a8a44e41a96f35ce485 [diff] |
UBI: Clean up return in ubi_remove_volume() My static checker says that "err" can be uninitialized if "vol->reserved_pebs" is <= 0. I don't think that can happen but returning a literal is cleaner anyway. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Richard Weinberger <richard@nod.at>