Staging: comedi: nio_tiocmd: fixed a brace coding style issue.
authorSurya Seetharaman <surya.seetharaman9@gmail.com>
Mon, 27 Oct 2014 14:28:20 +0000 (19:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Oct 2014 08:19:04 +0000 (16:19 +0800)
Removed unnecessary braces using 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 46cf3eb2ee5467e8fefba1e763e5a2f57045cfed..6037bec77ef11c3f0a67b97a31b8ec3c3f2d4f43 100644 (file)
@@ -449,11 +449,10 @@ void ni_tio_handle_interrupt(struct ni_gpct *counter,
                return;
        }
        gpct_mite_status = mite_get_status(counter->mite_chan);
-       if (gpct_mite_status & CHSR_LINKC) {
+       if (gpct_mite_status & CHSR_LINKC)
                writel(CHOR_CLRLC,
                       counter->mite_chan->mite->mite_io_addr +
                       MITE_CHOR(counter->mite_chan->channel));
-       }
        mite_sync_input_dma(counter->mite_chan, s);
        spin_unlock_irqrestore(&counter->lock, flags);
 }