diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2021-06-21 22:03:16 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2021-06-22 16:46:52 +0300 |
commit | 11c345f14a3e3c67e688024094f72de4f92c87a4 (patch) | |
tree | 1f0fb26b70a281e178f84a5e6caf030648b6decd /include/sbi_utils | |
parent | 99017946f36525c0689d287fbad21426575944c4 (diff) | |
download | opensbi-11c345f14a3e3c67e688024094f72de4f92c87a4.tar.xz |
lib: simplify sbi_fifo_inplace_update()
Don't assign an unused value to variable index.
Use operator '-=' where applicable.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Atish Patra <atish.patra@wdc.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Diffstat (limited to 'include/sbi_utils')
0 files changed, 0 insertions, 0 deletions