mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "msm: adsprpc: remove redundant check for static PDR handle"
This commit is contained in:
commit
8c40d56db2
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue