mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-02 01:06:46 +09:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
d581bc88cb
commit
769cb83704
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user