From: Viresh Kumar <viresh.kumar@linaro.org>
Date: Thu, 11 Aug 2016 20:27:22 +0000 (-0700)
Subject: greybus: firmware: Remove extra parenthesis
X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=769cb83704db127119d063b55091f782007368e7;p=linux.git

greybus: firmware: Remove extra parenthesis

Remove the unnecessary parenthesis.

Reported-by: Alex Elder <alex.elder@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
---

diff --git a/drivers/staging/greybus/fw-download.c b/drivers/staging/greybus/fw-download.c
index 16de71cd9e331..96c11aac40960 100644
--- a/drivers/staging/greybus/fw-download.c
+++ b/drivers/staging/greybus/fw-download.c
@@ -236,7 +236,7 @@ static int fw_download_find_firmware(struct gb_operation *op)
 	}
 
 	request = op->request->payload;
-	tag = (const char *)(request->firmware_tag);
+	tag = (const char *)request->firmware_tag;
 
 	/* firmware_tag should be null-terminated */
 	if (strnlen(tag, GB_FIRMWARE_TAG_MAX_LEN) == GB_FIRMWARE_TAG_MAX_LEN) {