rpmsg: virtio_rpmsg_bus: cleanup multiple assignment to ops
Trivial cleanup: the .ops pointer is assigned twice. This patch removes the first assignment. Acked-by: Suman Anna <s-anna@ti.com> Signed-off-by: Henri Roosen <henri.roosen@ginzinger.com> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
8578672490
commit
fcd02384f4
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue