]> git.baikalelectronics.ru Git - kernel.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)
commitb516aed76e98ebdd32603e82e2f6c812d1c2ec71
tree0fff42444d33744f7bc126c066724c68220bf09c
parentc5f11f43c006f82c32e21e1a3bf9d359742308f2
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