projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f345a
)
greybus: manifest: no need to initialize 'result'
author
Viresh Kumar
<viresh.kumar@linaro.org>
Thu, 13 Nov 2014 12:44:30 +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>
Reviewed-by: Alex Elder <elder@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
5634639
..
ebc2494
100644
(file)
--- a/
drivers/staging/greybus/manifest.c
+++ b/
drivers/staging/greybus/manifest.c
@@
-328,7
+328,7
@@
bool gb_manifest_parse(struct gb_module *gmod, void *data, size_t size)
struct manifest_desc *module_desc = NULL;
u16 manifest_size;
u32 found = 0;
- bool result
= false
;
+ bool result;
/* we have to have at _least_ the manifest header */
if (size <= sizeof(manifest->header)) {