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

Skip to content
Commit b22f9fa5 authored by Maheshwar Ajja's avatar Maheshwar Ajja Committed by Salman Syed
Browse files

msm: vidc: Remove unnecessary get/put_inst()



Without checking the get_inst() return type is leading to
wrongly destroying instance in put_inst() if return type
is NULL. get_inst() return type will be NULL if inst->session
was removed. No need to have get_inst() and put_inst() in
forward path because the instance will be present in
forward path always.

CRs-Fixed: 2177935
Change-Id: I8055a16652a65fdf83f48ab5b186b52ff1479e7f
Signed-off-by: default avatarMaheshwar Ajja <majja@codeaurora.org>
Signed-off-by: default avatarSalman Syed <ssalman@codeaurora.org>
parent 098a0591
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment