]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite39f2a84b0ca6215601cf382148a53493b3afd15
treee0e74a908a8663b4681e229186f3d6e98b2d1143
parentb516aed76e98ebdd32603e82e2f6c812d1c2ec71
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