summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/vmt.c
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-23 14:51:46 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-07-24 12:36:10 +0200
commiteeb16e87b6747c9a4f5769f33467c9d173e9f5ee (patch)
tree550305f0c717479db26a44d3c5b86bc4ba178950 /drivers/mtd/ubi/vmt.c
parentUBI: remove pre-sqnum images support (diff)
downloadlinux-eeb16e87b6747c9a4f5769f33467c9d173e9f5ee.tar.xz
linux-eeb16e87b6747c9a4f5769f33467c9d173e9f5ee.zip
UBI: fix gcc warning
Fix the following warning: drivers/mtd/ubi/vmt.c: In function 'ubi_rename_volumes': drivers/mtd/ubi/vmt.c:642: warning: statement with no effect Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/vmt.c')
-rw-r--r--drivers/mtd/ubi/vmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/vmt.c b/drivers/mtd/ubi/vmt.c
index d40066833abb..3531ca9a1e24 100644
--- a/drivers/mtd/ubi/vmt.c
+++ b/drivers/mtd/ubi/vmt.c
@@ -639,7 +639,7 @@ int ubi_rename_volumes(struct ubi_device *ubi, struct list_head *rename_list)
}
if (!err)
- paranoid_check_volumes(ubi);
+ err = paranoid_check_volumes(ubi);
return err;
}