From: Tapasweni Pathak Date: Sun, 28 Sep 2014 12:41:54 +0000 (+0530) Subject: staging: vt6656: Merge three lines into one X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f0cffbfe8c263de261ac92eb1e7605211b985beb;p=linux-beck.git staging: vt6656: Merge three lines into one This patch merges three lines into one, removing if branch Signed-off-by: Tapasweni Pathak Signed-off-by: Greg Kroah-Hartman --- 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)