Re: [PATCH] staging: vc04_services: bcm2835-camera: remove redundant assignment to variable ret

From: Stefan Wahren
Date: Mon May 13 2019 - 02:51:11 EST


On 11.05.19 15:48, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The variable ret is being initialized however this is never read and later
> it is being reassigned to a new value. The initialization is redundant and
> hence can be removed.
>
> Addresses-Coverity: ("Unused Value")
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Acked-by: Stefan Wahren <stefan.wahren@xxxxxxxx>