staging: comedi: drivers: addi-data: hwdrv_apci3501: Removed variables that is never...
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 29 Jan 2015 22:30:47 +0000 (23:30 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:02:15 +0000 (17:02 +0800)
commit451d61f99583fe8b82b03c3a52cc1619edd45817
treee0e74a908a8663b4681e229186f3d6e98b2d1143
parente9ba6ec2322319a59d60b14b65fe6fc19e9a40e4
staging: comedi: drivers: addi-data: hwdrv_apci3501: Removed variables that is never used

Variable was assigned a value that was never used.
I have also removed all the code that thereby serves no purpose.

This was found using a static code analysis program called cppcheck

Signed-off-by: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3501.c