Re: [PATCH v8] staging: vt6656: add error code handling to unused variable

From: Stefano Brivio
Date: Mon Mar 30 2020 - 20:01:24 EST


On Mon, 30 Mar 2020 16:39:00 -0700
"John B. Wyatt IV" <jbwyatt4@xxxxxxxxx> wrote:

> Add error code handling to unused 'ret' variable that was never used.
> Return an error code from functions called within vnt_radio_power_on.
>
> Issue reported by coccinelle (coccicheck).
>
> Suggested-by: Quentin Deslandes <quentin.deslandes@xxxxxxxxxxx>
> Suggested-by: Stefano Brivio <sbrivio@xxxxxxxxxx>
> Reviewed-by: Quentin Deslandes <quentin.deslandes@xxxxxxxxxxx>
^ This should be dropped unless Quentin agrees to this version as well

> Signed-off-by: John B. Wyatt IV <jbwyatt4@xxxxxxxxx>

Reviewed-by: Stefano Brivio <sbrivio@xxxxxxxxxx>

--
Stefano