Skip to content
Commit d43e8958 authored by Girish Pathak's avatar Girish Pathak Committed by nicola-mazzucato-arm
Browse files

framework: Move async_response_event variable initialization.



For non multi thread builds, the function __fwk_thread_run
calls process_next_event for every event, or even for no event.
The process_next_event uses async_response_event and initializes
everytime it gets called. However this initialization is not
required for every call. This change moves this initialization
near to the local scope where it is necessary, saving cycles
for the  calls that do not require async_response_event
initialization.

Change-Id: If6543034df4ca4db43bc0a1ea944f2ac6a5d91e8
Signed-off-by: Girish Pathak's avatarGirish Pathak <girish.pathak@arm.com>
parent 56b537ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment