staging: vt6656: Merge three lines into one
authorTapasweni Pathak <tapaswenipathak@gmail.com>
Sun, 28 Sep 2014 12:41:54 +0000 (18:11 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 03:22:21 +0000 (23:22 -0400)
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>
drivers/staging/vt6656/firmware.c

index e52934ffe3081d1629e03b3b53b742fcc33e0a35..a177645af83e6e8d5b37491b0b6096f74fdf55b9 100644 (file)
@@ -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)