projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29b4817
)
rpmsg: remove unneeded conversions to bool
author
Andrew F. Davis
<afd@ti.com>
Fri, 1 Jul 2016 14:24:58 +0000
(09:24 -0500)
committer
Bjorn Andersson
<bjorn.andersson@linaro.org>
Wed, 10 Aug 2016 17:43:03 +0000
(10:43 -0700)
Found with scripts/coccinelle/misc/boolconv.cocci.
Signed-off-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/rpmsg/virtio_rpmsg_bus.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rpmsg/virtio_rpmsg_bus.c
b/drivers/rpmsg/virtio_rpmsg_bus.c
index fe03b2aef4509d26b2eeaf8f67a932957ba963bf..e58637aa6b2c90ced4c973413b8319f8a80681fd 100644
(file)
--- a/
drivers/rpmsg/virtio_rpmsg_bus.c
+++ b/
drivers/rpmsg/virtio_rpmsg_bus.c
@@
-528,7
+528,7
@@
static struct rpmsg_channel *rpmsg_create_channel(struct virtproc_info *vrp,
* rpmsg server channels has predefined local address (for now),
* and their existence needs to be announced remotely
*/
- rpdev->announce = rpdev->src != RPMSG_ADDR_ANY
? true : false
;
+ rpdev->announce = rpdev->src != RPMSG_ADDR_ANY;
strncpy(rpdev->id.name, chinfo->name, RPMSG_NAME_SIZE);