diff options
author | Tapasweni Pathak <tapaswenipathak@gmail.com> | 2014-09-28 12:41:54 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-29 03:22:21 (GMT) |
commit | f0cffbfe8c263de261ac92eb1e7605211b985beb (patch) | |
tree | 4935a9d65eab4edf3d59d91f8073738ff342c50f /drivers/staging | |
parent | a793b2d817dffce9f16af694fcce327bdefedbed (diff) | |
download | linux-f0cffbfe8c263de261ac92eb1e7605211b985beb.tar.xz |
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.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/staging/vt6656/firmware.c b/drivers/staging/vt6656/firmware.c index e52934f..a177645 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) |