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

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

Merge "adsprpc: Remove redundant check for static pd handle"

parents 92406ce3 d3e858a5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -3194,8 +3194,7 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl)
	VERIFY(err, cid == fl->cid);
	if (err)
		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;
	}