Skip to content
Commit 9f67c1a3 authored by Md Golam Tanvir Zim's avatar Md Golam Tanvir Zim Committed by Leandro Belli
Browse files

mod/scmi_clock: Eliminate redundant invocation of get_agent_id



In the current implementation, in all scmi command handler functions,
get_agent_id() of `scmi_api` is being invoked multiple times
redundantly, from another function and explicitly.

To improve efficiency, calling `get_agent_id()` is removed from
`scmi_clock_get_clock_device_entry()` and called explicitly.

Signed-off-by: Md Golam Tanvir Zim's avatarMd Golam Tanvir Zim <mdgolamtanvir.zim@arm.com>
Change-Id: Ic44adfd6435cd426651cfad3823f2a34bffe59da
parent 877d50cc
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