From: Viresh Kumar Date: Thu, 11 Aug 2016 20:27:22 +0000 (-0700) Subject: greybus: firmware: Remove extra parenthesis X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=769cb83704db127119d063b55091f782007368e7;p=linux-beck.git greybus: firmware: Remove extra parenthesis Remove the unnecessary parenthesis. Reported-by: Alex Elder Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- 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) {