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

2019-05-13 Thread Stefan Wahren
On 11.05.19 15:48, Colin King wrote: > From: Colin Ian King > > 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:

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

2019-05-11 Thread Colin King
From: Colin Ian King 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 ---