diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-09-28 18:11:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-28 23:22:21 -0400 |
commit | f0cffbfe8c263de261ac92eb1e7605211b985beb (patch) | |
tree | 4935a9d65eab4edf3d59d91f8073738ff342c50f | |
parent | a793b2d817dffce9f16af694fcce327bdefedbed (diff) | |
download | linux-f0cffbfe8c263de261ac92eb1e7605211b985beb.tar.gz linux-f0cffbfe8c263de261ac92eb1e7605211b985beb.tar.bz2 linux-f0cffbfe8c263de261ac92eb1e7605211b985beb.zip |
staging: vt6656: Merge three lines into one
This patch merges three lines into one, removing if branch
Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6656/firmware.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/firmware.c b/drivers/staging/vt6656/firmware.c index e52934ffe308..a177645af83e 100644 --- a/drivers/staging/vt6656/firmware.c +++ b/drivers/staging/vt6656/firmware.c @@ -103,9 +103,7 @@ int vnt_firmware_branch_to_sram(struct vnt_private *priv) 0x0000, 0, NULL); - if (status != STATUS_SUCCESS) - return false; - return true; + return status == STATUS_SUCCESS; } int vnt_check_firmware_version(struct vnt_private *priv) |