Commit 769cb837 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: firmware: Remove extra parenthesis

Remove the unnecessary parenthesis.
Reported-by: default avatarAlex Elder <alex.elder@linaro.org>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent d581bc88
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment