projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a793b2d
)
staging: vt6656: Merge three lines into one
author
Tapasweni Pathak
<
[email protected]
>
Sun, 28 Sep 2014 12:41:54 +0000
(18:11 +0530)
committer
Greg Kroah-Hartman
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/staging/vt6656/firmware.c
patch
|
blob
|
history
diff --git
a/drivers/staging/vt6656/firmware.c
b/drivers/staging/vt6656/firmware.c
index e52934ffe3081d1629e03b3b53b742fcc33e0a35..a177645af83e6e8d5b37491b0b6096f74fdf55b9 100644
(file)
--- 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)