Commit 16e7071f authored by Anup Patel's avatar Anup Patel Committed by Anup Patel
Browse files

lib: sbi_hsm: Optimize sbi_hsm_hart_get_state() implementation



Now that sbi_hart_id_to_scratch() is optimized, we don't need
the "if ()" statement. Also, the hstate local variable is
redundant so we remove that as well.

Signed-off-by: default avatarAnup Patel <anup.patel@wdc.com>
Reviewed-by: default avatarAtish Patra <atish.patra@wdc.com>
parent eeae3d95
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment