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:
8578672
)
rpmsg: virtio_rpmsg_bus: cleanup multiple assignment to ops
author
Henri Roosen
<
[email protected]
>
Fri, 2 Jun 2017 11:36:22 +0000
(13:36 +0200)
committer
Bjorn Andersson
<
[email protected]
>
Sun, 25 Jun 2017 21:43:31 +0000
(14:43 -0700)
Trivial cleanup: the .ops pointer is assigned twice. This patch removes the
first assignment.
Acked-by: Suman Anna <
[email protected]
>
Signed-off-by: Henri Roosen <
[email protected]
>
Signed-off-by: Bjorn Andersson <
[email protected]
>
drivers/rpmsg/virtio_rpmsg_bus.c
patch
|
blob
|
history
diff --git
a/drivers/rpmsg/virtio_rpmsg_bus.c
b/drivers/rpmsg/virtio_rpmsg_bus.c
index 76f8e619410976d086db37d0d06e14b948a28d5f..eee2a9f77d37dcdf892cc3db6735cdcdb7cfc4d2 100644
(file)
--- a/
drivers/rpmsg/virtio_rpmsg_bus.c
+++ b/
drivers/rpmsg/virtio_rpmsg_bus.c
@@
-398,9
+398,6
@@
static struct rpmsg_device *rpmsg_create_channel(struct virtproc_info *vrp,
/* Link the channel to our vrp */
vch->vrp = vrp;
- /* Assign callbacks for rpmsg_channel */
- vch->rpdev.ops = &virtio_rpmsg_ops;
-
/* Assign public information to the rpmsg_device */
rpdev = &vch->rpdev;
rpdev->src = chinfo->src;