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

Commit e67ce4ec 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 376807bc 7afd24c6
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1607,9 +1607,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);
}