Loading drivers/char/adsprpc.c +5 −5 Original line number Diff line number Diff line Loading @@ -3057,6 +3057,11 @@ 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) { err = -ENOTCONN; goto bail; } if (me->channel[fl->cid].spd[session].pdrcount != me->channel[fl->cid].spd[session].prevpdrcount) { err = fastrpc_mmap_remove_ssr(fl); Loading @@ -3066,11 +3071,6 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl) me->channel[fl->cid].spd[session].prevpdrcount = me->channel[fl->cid].spd[session].pdrcount; } if (!me->channel[fl->cid].spd[session].ispdup && me->channel[fl->cid].spd[session].pdrhandle) { err = -ENOTCONN; goto bail; } bail: return err; } Loading Loading
drivers/char/adsprpc.c +5 −5 Original line number Diff line number Diff line Loading @@ -3057,6 +3057,11 @@ 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) { err = -ENOTCONN; goto bail; } if (me->channel[fl->cid].spd[session].pdrcount != me->channel[fl->cid].spd[session].prevpdrcount) { err = fastrpc_mmap_remove_ssr(fl); Loading @@ -3066,11 +3071,6 @@ static int fastrpc_mmap_remove_pdr(struct fastrpc_file *fl) me->channel[fl->cid].spd[session].prevpdrcount = me->channel[fl->cid].spd[session].pdrcount; } if (!me->channel[fl->cid].spd[session].ispdup && me->channel[fl->cid].spd[session].pdrhandle) { err = -ENOTCONN; goto bail; } bail: return err; } Loading