staging: comedi: drivers: rtd520: Removed variables that is never used
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 29 Jan 2015 22:43:36 +0000 (23:43 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:02:15 +0000 (17:02 +0800)
commitfa0ca8e7c93442a2cb6be895cfb3f067079c4f0a
treee0c5ba86316a36e0300a051c1e75d91acbde47b2
parent451d61f99583fe8b82b03c3a52cc1619edd45817
staging: comedi: drivers: rtd520: 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/rtd520.c