From 769cb83704db127119d063b55091f782007368e7 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Thu, 11 Aug 2016 13:27:22 -0700 Subject: [PATCH] greybus: firmware: Remove extra parenthesis Remove the unnecessary parenthesis. Reported-by: Alex Elder Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/fw-download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/greybus/fw-download.c b/drivers/staging/greybus/fw-download.c index 16de71cd9e33..96c11aac4096 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) {