greybus: manifest: no need to initialize 'result'
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 13 Nov 2014 12:44:30 +0000 (18:14 +0530)
committerGreg 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

index 5634639..ebc2494 100644 (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)) {