UBI: silence warning
drivers/mtd/ubi/vmt.c: In function `ubi_create_volume': drivers/mtd/ubi/vmt.c:379: warning: statement with no effect Signed-off-by: S.Çağlar Onur <caglar@pardus.org.tr> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
This commit is contained in:
parent
bfa274e243
commit
fc398769ac
|
@ -376,7 +376,9 @@ out_sysfs:
|
||||||
get_device(&vol->dev);
|
get_device(&vol->dev);
|
||||||
volume_sysfs_close(vol);
|
volume_sysfs_close(vol);
|
||||||
out_gluebi:
|
out_gluebi:
|
||||||
ubi_destroy_gluebi(vol);
|
if (ubi_destroy_gluebi(vol))
|
||||||
|
dbg_err("cannot destroy gluebi for volume %d:%d",
|
||||||
|
ubi->ubi_num, vol_id);
|
||||||
out_cdev:
|
out_cdev:
|
||||||
cdev_del(&vol->cdev);
|
cdev_del(&vol->cdev);
|
||||||
out_mapping:
|
out_mapping:
|
||||||
|
|
Loading…
Reference in New Issue