msm: kgsl: Remove unnecessary profile close check
Remove an unnecessary profile close check in
adreno_profile_process_results(). The profile close
check was causing NULL pointer dereferencing in
other adreno profile functions. There should be
no danger of memory leak though since we clear the
buffer in adreno_profile_close() anyway.
CRs-fixed: 590766
Change-Id: I372ade0dc0ec0ed23dd743c6294d8bf0524f812f
Signed-off-by:
Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
Loading
Please register or sign in to comment