aboutsummaryrefslogtreecommitdiff
path: root/tpm.c
diff options
context:
space:
mode:
authorChen Qun <kuhn.chenqun@huawei.com>2020-03-02 21:07:12 +0800
committerLaurent Vivier <laurent@vivier.eu>2020-03-09 15:59:31 +0100
commit780c7dad17374592d202098b083376c70342356e (patch)
tree7b4f84cbdc6cfdcef6b330e5e421fb7060b40643 /tpm.c
parent76e91cda07d783c4dca50df3cd87156bd14b692c (diff)
dma/xlnx-zdma: Remove redundant statement in zdma_write_dst()
Clang static code analyzer show warning: hw/dma/xlnx-zdma.c:399:13: warning: Value stored to 'dst_type' is never read dst_type = FIELD_EX32(s->dsc_dst.words[3], ZDMA_CH_DST_DSCR_WORD3, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Francisco Iglesias <frasse.iglesias@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Message-Id: <20200302130715.29440-11-kuhn.chenqun@huawei.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions