From: Viresh Kumar Date: Thu, 13 Nov 2014 12:44:30 +0000 (+0530) Subject: greybus: manifest: no need to initialize 'result' X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43d9431f6bc9dd7cf0f3b9e8a3cd94bb61745da8;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git greybus: manifest: no need to initialize 'result' Signed-off-by: Viresh Kumar Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/manifest.c b/drivers/staging/greybus/manifest.c index 563463955cb0..ebc24940d672 100644 --- 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)) {