mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-01 10:42:11 +00:00
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>
This commit is contained in:
parent
e2f345ab40
commit
43d9431f6b
@ -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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user