]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
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 563463955cb085a382905fa6176d71a60242e7cc..ebc24940d67241bb6313a4a014d42b289ddb3249 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)) {