OSDN Git Service

Staging: comedi: ni_tiocmd: fixed a brace coding style issue
authortssurya <suryaseetharaman.9@gmail.com>
Fri, 24 Oct 2014 19:07:33 +0000 (00:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Oct 2014 02:33:06 +0000 (10:33 +0800)
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>
drivers/staging/comedi/drivers/ni_tiocmd.c

index 26e7291..46cf3eb 100644 (file)
@@ -371,9 +371,8 @@ static void ni_tio_acknowledge_and_confirm(struct ni_gpct *counter,
                          of gate interrupt via dma read/write
                           and report bogus gate errors */
                        if (counter->counter_dev->variant !=
-                           ni_gpct_variant_660x) {
+                           ni_gpct_variant_660x)
                                *gate_error = 1;
-                       }
                }
        }
        if (gxx_status & GI_TC_ERROR(cidx)) {