]> git.baikalelectronics.ru Git - kernel.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)
commit76ac5f9c19edb1241d7cf6ad50674c532de84937
tree889a3379627b76c76dadd2d4488df2725f537afb
parentae34b683bac89924bb5325aa48677fab42bfa701
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