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

Commit 95910f8b authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "diag: rpmsg: Remove set_drvdata in close work"

parents 3d98ae90 0d7d9deb
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -500,7 +500,6 @@ static void diag_rpmsg_close_work_fn(struct work_struct *work)
	if (!rpmsg_info || !rpmsg_info->inited || !rpmsg_info->hdl)
		return;
	atomic_set(&rpmsg_info->opened, 0);
	dev_set_drvdata(&rpmsg_info->hdl->dev, NULL);
	rpmsg_info->hdl = NULL;
	diagfwd_channel_close(rpmsg_info->fwd_ctxt);
}