staging: comedi: ni_pcidio: remove redundant mite disarm/reset
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 20 Apr 2016 17:36:35 +0000 (10:36 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 29 Apr 2016 05:18:51 +0000 (22:18 -0700)
commiteecbadef12d1e9781d48f31875fa9f5f79194a65
tree258f86b4859038510cbb2691e6e7acd657a6d9b7
parentef81f55b07c2efe80d0ea80527426ef319a4a5e7
staging: comedi: ni_pcidio: remove redundant mite disarm/reset

The mite_release_channel() will disarm and reset the mite channel.
Remove the redundant calls in ni_pcidio_release_di_mite_channel().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_pcidio.c