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:
43d9431
)
greybus: manifest: initialize variable during definition
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 13 Nov 2014 12:44:31 +0000
(18:14 +0530)
committer
Greg Kroah-Hartman
<greg@kroah.com>
Fri, 14 Nov 2014 21:14:37 +0000
(13:14 -0800)
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/manifest.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/manifest.c
b/drivers/staging/greybus/manifest.c
index ebc24940d67241bb6313a4a014d42b289ddb3249..964f85ed603cb7e8c825a955f8a94a5f977a55eb 100644
(file)
--- a/
drivers/staging/greybus/manifest.c
+++ b/
drivers/staging/greybus/manifest.c
@@
-183,10
+183,9
@@
static u32 gb_manifest_parse_cports(struct gb_interface *interface)
struct greybus_descriptor_cport *desc_cport;
u8 protocol_id;
u16 cport_id;
- bool found;
+ bool found
= false
;
/* Find a cport descriptor */
- found = false;
list_for_each_entry(descriptor, &manifest_descs, links) {
if (descriptor->type == GREYBUS_TYPE_CPORT) {
desc_cport = descriptor->data;