]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: firmware: Remove extra parenthesis
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 11 Aug 2016 20:27:22 +0000 (13:27 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 12 Aug 2016 15:38:19 +0000 (17:38 +0200)
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>
drivers/staging/greybus/fw-download.c

index 16de71cd9e331b6a62413acd9c2fb01f763608bd..96c11aac40960c9dfbb9e3f499fef8d58fdb47ad 100644 (file)
@@ -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) {