diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-08-11 13:27:22 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-08-12 17:38:19 +0200 |
commit | 769cb83704db127119d063b55091f782007368e7 (patch) | |
tree | 46467e53964ddd708b37c6b2f2117983dd9bd017 /drivers/staging/greybus/fw-download.c | |
parent | d581bc88cb0b89ba3bf135855843916fc78e6693 (diff) | |
download | linux-769cb83704db127119d063b55091f782007368e7.tar.gz linux-769cb83704db127119d063b55091f782007368e7.tar.bz2 linux-769cb83704db127119d063b55091f782007368e7.zip |
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>
Diffstat (limited to 'drivers/staging/greybus/fw-download.c')
-rw-r--r-- | drivers/staging/greybus/fw-download.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |