From f0cffbfe8c263de261ac92eb1e7605211b985beb Mon Sep 17 00:00:00 2001 From: Tapasweni Pathak Date: Sun, 28 Sep 2014 18:11:54 +0530 Subject: [PATCH] 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 --- drivers/staging/vt6656/firmware.c | 4 +--- 1 file changed, 1 insertion(+), 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) -- 2.39.5