aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/cadence_ttc.c
diff options
context:
space:
mode:
authorChen Qun <kuhn.chenqun@huawei.com>2020-03-25 10:59:19 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-05-04 11:17:27 +0200
commit237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf (patch)
treee5fd6dd9bd5cd71e99729527692406de154a8397 /hw/timer/cadence_ttc.c
parentfd1c220395eab1712e67238d876c72bf3292c153 (diff)
downloadqemu-237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf.zip
qemu-237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf.tar.gz
qemu-237d8f09635e01ff2c4e4c8ca28d14b92dfcd8bf.tar.bz2
timer/exynos4210_mct: Remove redundant statement in exynos4210_mct_write()
Clang static code analyzer show warning: hw/timer/exynos4210_mct.c:1370:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/timer/exynos4210_mct.c:1399:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hw/timer/exynos4210_mct.c:1441:9: warning: Value stored to 'index' is never read index = GET_L_TIMER_CNT_REG_IDX(offset, lt_i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200325025919.21316-4-kuhn.chenqun@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/timer/cadence_ttc.c')
0 files changed, 0 insertions, 0 deletions