Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcd02384 authored by Henri Roosen's avatar Henri Roosen Committed by Bjorn Andersson
Browse files

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: default avatarSuman Anna <s-anna@ti.com>
Signed-off-by: default avatarHenri Roosen <henri.roosen@ginzinger.com>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 85786724
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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;