[PATCH] media: meson: vdec: remove redundant initialization of variable reg_cur

Martin Blumenstingl martin.blumenstingl at googlemail.com
Sun May 16 10:01:44 PDT 2021


On Fri, May 14, 2021 at 12:03 AM Colin King <colin.king at canonical.com> wrote:
>
> From: Colin Ian King <colin.king at canonical.com>
>
> The variable reg_cur is being initialized with a value that is never
> read, it is being updated later on. The assignment is redundant and
> can be removed.
>
> Addresses-Coverity: ("Unused value")
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl at googlemail.com>



More information about the linux-amlogic mailing list