]> Pileus Git - ~andy/linux/commitdiff
staging: comedi: ni_tio_internal.h: checkpatch.pl cleanups
authorW. Trevor King <wking@tremily.us>
Thu, 19 Apr 2012 01:30:28 +0000 (21:30 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Apr 2012 15:29:54 +0000 (08:29 -0700)
* No braces for single statement blocks.

Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_tio_internal.h

index f9295ec25e7089b0f0a10005b5f7d366c50d7b3c..5e00212aa022e5c55e7f901adec5ed3b52f6b8fe 100644 (file)
@@ -694,11 +694,10 @@ static inline unsigned Gi_Gate_Interrupt_Enable_Bit(unsigned counter_index)
 {
        unsigned bit;
 
-       if (counter_index % 2) {
+       if (counter_index % 2)
                bit = G1_Gate_Interrupt_Enable_Bit;
-       } else {
+       else
                bit = G0_Gate_Interrupt_Enable_Bit;
-       }
        return bit;
 }