msm: cam: reqmgr: Add list empty check for task list
Add check for list empty before accessing first entry.
This check is added to prevent list corruption when list
is empty.
Change-Id: I06bd6cfd1398522c9ecd70a960cbdff06905c66b
Signed-off-by: Sagar Gore <sgore@codeaurora.org>
Loading
Please register or sign in to comment