]> git.karo-electronics.de Git - linux-beck.git/commit
staging: comedi: drivers: mite: Removed variables that is never used
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Thu, 29 Jan 2015 22:25:51 +0000 (23:25 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Feb 2015 09:02:15 +0000 (17:02 +0800)
commite9ba6ec2322319a59d60b14b65fe6fc19e9a40e4
tree0fff42444d33744f7bc126c066724c68220bf09c
parente876e3509701a3ff048725f44a85f7d420b4ec63
staging: comedi: drivers: mite: 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/mite.c