Commit 0297ac39 authored by tssurya's avatar tssurya Committed by Greg Kroah-Hartman

Staging: comedi: ni_tiocmd: fixed a brace coding style issue

Removed unneeded braces with the help of checkpatch.pl tool.
Signed-off-by: default avatarSurya Seetharaman <suryaseetharaman.9@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 157b8e59
...@@ -371,11 +371,10 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter, ...@@ -371,11 +371,10 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter,
of gate interrupt via dma read/write of gate interrupt via dma read/write
and report bogus gate errors */ and report bogus gate errors */
if (counter->counter_dev->variant != if (counter->counter_dev->variant !=
ni_gpct_variant_660x) { ni_gpct_variant_660x)
*gate_error = 1; *gate_error = 1;
} }
} }
}
if (gxx_status & GI_TC_ERROR(cidx)) { if (gxx_status & GI_TC_ERROR(cidx)) {
ack |= GI_TC_ERROR_CONFIRM(cidx); ack |= GI_TC_ERROR_CONFIRM(cidx);
if (tc_error) if (tc_error)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment