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

This commit is contained in:
qctecmdr 2020-09-19 23:25:49 -07:00 • committed by Gerrit - the friendly Code Review server
commit 8c40d56db2

View file

@ -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;
}