]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: comedi: addi-data: remove unnecessary variable initializations in hwdrv_apci...
authorChase Southwood <chase.southwood@yahoo.com>
Fri, 28 Feb 2014 07:30:45 +0000 (01:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 28 Feb 2014 22:29:38 +0000 (14:29 -0800)
commit54e4c9ee0db1e7637e752c42efd4454ef5dc7cd4
tree485129a11108ebc6f840c2b3bd606fa26106985b
parente508b52a457239d0fd80a61b43f6ac1e2ff875a6
Staging: comedi: addi-data: remove unnecessary variable initializations in hwdrv_apci035.c

Nearly every variable in hwdrv_apci035.c is initialized to 0 when it is
declared, and then set to some other value before ever being used.  As
such, we can remove all of these initializations.  They are accomplishing
nothing.

Signed-off-by: Chase Southwood <chase.southwood@yahoo.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci035.c