Re: [PATCH] USB: gtco: remove unnecessary variable assignments

2017-06-15 Thread ulrik . debie-os
Hi Joe, Gustavo, On Wed, Jun 14, 2017 at 10:00:48PM -0700, Joe Perches wrote: > On Wed, 2017-06-14 at 20:50 -0500, Gustavo A. R. Silva wrote: > > Remove unnecessary variable assignments. > > Variable _val_ is overwritten before the value stored in it can be used. > > > > Addresses-Coverity-ID: 13

Re: [PATCH] USB: gtco: remove unnecessary variable assignments

2017-06-14 Thread Joe Perches
On Wed, 2017-06-14 at 20:50 -0500, Gustavo A. R. Silva wrote: > Remove unnecessary variable assignments. > Variable _val_ is overwritten before the value stored in it can be used. > > Addresses-Coverity-ID: 1397695 > Signed-off-by: Gustavo A. R. Silva > --- > drivers/input/tablet/gtco.c | 2 -- >

[PATCH] USB: gtco: remove unnecessary variable assignments

2017-06-14 Thread Gustavo A. R. Silva
Remove unnecessary variable assignments. Variable _val_ is overwritten before the value stored in it can be used. Addresses-Coverity-ID: 1397695 Signed-off-by: Gustavo A. R. Silva --- drivers/input/tablet/gtco.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/tablet/gtco.c b/d