staging: comedi: ni_mio_common: don't change CMDF_WRITE flag
authorIan Abbott <abbotti@mev.co.uk>
Thu, 30 Oct 2014 12:42:28 +0000 (12:42 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Nov 2014 00:28:46 +0000 (16:28 -0800)
commitfb5a88eb9c2e20e2a68caea7ebebab65d2a13cd1
tree4f6a05db97b841dc11a3d98bb253df7f6c4361d5
parent8986d37ace6aed435c29084756923bdbb5148624
staging: comedi: ni_mio_common: don't change CMDF_WRITE flag

There is no need for `ni_ai_cmdtest()` or `ni_ao_cmdtest()` to set the
`CMDF_WRITE` flag to the correct state as it has already been done by
the core comedi module.

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