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

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

Merge "msm: adsprpc: remove redundant check for static PDR handle"

parents 8290f255 420077a0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -4266,8 +4266,7 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl)
		err = -EBADR;
		goto bail;
	}
	if (!me->channel[fl->cid].spd[session].ispdup &&
		me->channel[fl->cid].spd[session].pdrhandle) {
	if (!me->channel[fl->cid].spd[session].ispdup) {
		err = -ENOTCONN;
		goto bail;
	}