diff options
| author | Anup Patel <[email protected]> | 2021-02-02 10:36:14 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2021-03-03 10:18:23 +0530 |
| commit | 638c948ab90e8630be5c43c17abb63cb3154919f (patch) | |
| tree | 2aa5e9d4c77b160e775052b93b776dc6f056cd86 /lib/utils/timer/objects.mk | |
| parent | 7c867fd19f92ac36aa2cd329f1eb687c6e630a26 (diff) | |
lib: sbi: Remove redundant sbi_hsm_hart_started() function
The sbi_hsm_hart_started() function is only used by sbi_hsm_hart_stop()
for checking state of calling HART and current domain assignment.
The atomic_cmpxchg() called by sbi_hsm_hart_stop() will check state of
calling hart anyway and domain assignment can be checked by other domain
function such as sbi_domain_is_assigned_hart().
This means sbi_hsm_hart_started() is redundant and can be removed.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'lib/utils/timer/objects.mk')
0 files changed, 0 insertions, 0 deletions
