]> git.openfabrics.org - ~emulex/infiniband.git/commit
staging: comedi: ni_labpc: don't clear cmd3 bits explicitly in labpc_ai_cmd()
authorIan Abbott <abbotti@mev.co.uk>
Fri, 28 Jun 2013 16:09:18 +0000 (17:09 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 23 Jul 2013 21:27:51 +0000 (14:27 -0700)
commitf12a34ca0b7f02f725965f39f9ccf5d5c339d3e0
tree4ca230d8a89b29c6bafdd3d95784d2149c2fae46
parent725a70d8a68ef5368652c0c49631fefb361d62cf
staging: comedi: ni_labpc: don't clear cmd3 bits explicitly in labpc_ai_cmd()

`labpc_ai_cmd()` calls `labpc_cancel()` which already sets
`devpriv->cmd3` to 0.  Remove the lines from `labpc_ai_cmd()` that clear
specific bits in `devpriv->cmd3` explicitly as they have no effect.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_labpc.c