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

Commit 899c0b5b authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "rpmsg: glink: Remove channel decouple from rpdev release"

parents 6fe5f956 8fb66238
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1728,9 +1728,7 @@ static const struct rpmsg_endpoint_ops glink_endpoint_ops = {
static void qcom_glink_rpdev_release(struct device *dev)
{
	struct rpmsg_device *rpdev = to_rpmsg_device(dev);
	struct glink_channel *channel = to_glink_channel(rpdev->ept);

	channel->rpdev = NULL;
	kfree(rpdev);
}