aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorTapasweni Pathak <tapaswenipathak@gmail.com>2014-09-28 18:11:54 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-09-28 23:22:21 -0400
commitf0cffbfe8c263de261ac92eb1e7605211b985beb (patch)
tree4935a9d65eab4edf3d59d91f8073738ff342c50f /drivers/staging
parentstaging: vt6655: Type conversion was made. (diff)
downloadlinux-dev-f0cffbfe8c263de261ac92eb1e7605211b985beb.tar.xz
linux-dev-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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/vt6656/firmware.c4
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)