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

Skip to content
Commit e9d2104c authored by Chandan Kumar Jha's avatar Chandan Kumar Jha Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: lrme: Change list iterator api during requests deletion



list_for_each_entry will break if we delete something while iterating
the list. it may result in an infinite loop and make CPU busy for
a longer time.

This change prevents to enter such condition.

Change-Id: I9d9ebdd9b2e00832e3493d73de4ba2ea3745a630
Signed-off-by: default avatarChandan Kumar Jha <cjha@codeaurora.org>
parent 28b5c65d
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