staging: comedi: drivers: addi_apci_3501: Removed variables that is never used
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 29 Jan 2015 22:34:55 +0000 (23:34 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:02:15 +0000 (17:02 +0800)
commitba9b6ef4058a065558b2d55b943fa10cd8540207
treea5fb3cdcf86e80166ce8672758ab2a17f9c227ab
parentfa0ca8e7c93442a2cb6be895cfb3f067079c4f0a
staging: comedi: drivers: addi_apci_3501: 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_apci_3501.c