Staging: comedi: ni_tiocmd: fixed a brace coding style issue
Removed unneeded braces with the help of checkpatch.pl tool. Signed-off-by: Surya Seetharaman <suryaseetharaman.9@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
157b8e59fa
commit
0297ac39fa
1 changed files with 1 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue