提交 f0cffbfe 编写于 作者: T Tapasweni Pathak 提交者: Greg Kroah-Hartman

staging: vt6656: Merge three lines into one

This patch merges three lines into one, removing if branch
Signed-off-by: NTapasweni Pathak <tapaswenipathak@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 a793b2d8
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册