Re: [PATCH 1/2] staging: gdm724x: Remove initialisation

2019-05-23 Thread Greg KH
On Fri, May 24, 2019 at 11:30:25AM +0530, Nishka Dasgupta wrote: > The initial value of return variable ret, -1, is never used and hence > can be removed. > Issue found with Coccinelle. > > Signed-off-by: Nishka Dasgupta > --- > drivers/staging/gdm724x/gdm_usb.c | 2 +- > 1 file changed, 1 inser

[PATCH 1/2] staging: gdm724x: Remove initialisation

2019-05-23 Thread Nishka Dasgupta
The initial value of return variable ret, -1, is never used and hence can be removed. Issue found with Coccinelle. Signed-off-by: Nishka Dasgupta --- drivers/staging/gdm724x/gdm_usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_usb.c b/drivers