projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9869cd8
)
UBI: fix gcc warning
author
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Wed, 23 Jul 2008 12:51:46 +0000
(15:51 +0300)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 24 Jul 2008 10:36:10 +0000
(13:36 +0300)
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>
drivers/mtd/ubi/vmt.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/vmt.c
b/drivers/mtd/ubi/vmt.c
index d40066833abb2c0687f1ff6c5050c8f939dd69da..3531ca9a1e24e9ec4721b21eea4a7c77244d7db8 100644
(file)
--- 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;
}