1
0
Fork 0

greybus: manifest: no need to initialize 'result'

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>
hifive-unleashed-5.1
Viresh Kumar 2014-11-13 18:14:30 +05:30 committed by Greg Kroah-Hartman
parent e2f345ab40
commit 43d9431f6b
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {