summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_trap.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-03-11 17:04:39 +0300
committerAnup Patel <anup@brainfault.org>2020-03-13 09:49:36 +0300
commit16e7071f6ddd5ba69d416b5a68e4aa191fc19d3b (patch)
treed18ef3d001cfd7b933b3c07c9319f654c8241533 /lib/sbi/sbi_trap.c
parenteeae3d95827ec33e74d853596b89ee49d83ff751 (diff)
downloadopensbi-16e7071f6ddd5ba69d416b5a68e4aa191fc19d3b.tar.xz
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: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'lib/sbi/sbi_trap.c')
0 files changed, 0 insertions, 0 deletions