]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: drivers: usbduxsigma: Removed variables that is never used
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 29 Jan 2015 22:50:09 +0000 (23:50 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:02:16 +0000 (17:02 +0800)
commit3caef5a4cac9d7c27d7362be63e799c199111a62
tree889a3379627b76c76dadd2d4488df2725f537afb
parentba9b6ef4058a065558b2d55b943fa10cd8540207
staging: comedi: drivers: usbduxsigma: 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>
Reviewed-by: Bernd Porr <mail@berndporr.me.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxsigma.c