[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 02/10] hw/arm/omap1:Remove redundant statement in omap_clk
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 02/10] hw/arm/omap1:Remove redundant statement in omap_clkdsp_read() |
Date: |
Tue, 25 Aug 2020 13:35:17 +0100 |
On Tue, 25 Aug 2020 at 12:26, Chen Qun <kuhn.chenqun@huawei.com> wrote:
>
> Clang static code analyzer show warning:
> hw/arm/omap1.c:1760:15: warning: Value stored to 'cpu' during its
> initialization is never read
> CPUState *cpu = CPU(s->cpu);
> ^~~ ~~~~~~~~~~~
>
> Reported-by: Euler Robot <euler.robot@huawei.com>
> Signed-off-by: Chen Qun <kuhn.chenqun@huawei.com>
> ---
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
thanks
-- PMM