Re: [PATCH] media: dvb: mb86a20s: get rid of a clang-15 warning

From: Chen-Yu Tsai
Date: Wed Jun 28 2023 - 11:09:22 EST


On Wed, Jun 28, 2023 at 3:03 PM Mauro Carvalho Chehab
<mchehab@xxxxxxxxxx> wrote:
>
> When building with clang-15: this warning is produced:
>
> ../drivers/media/dvb-frontends/mb86a20s.c:1572:6: error: variable 'active_layers' set but not used [-Werror,-Wunused-but-set-variable]
> int active_layers = 0, pre_ber_layers = 0, post_ber_layers = 0;
> ^
> 1 error generated.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxx>

Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>