From: W. Trevor King Date: Thu, 19 Apr 2012 01:30:28 +0000 (-0400) Subject: staging: comedi: ni_tio_internal.h: checkpatch.pl cleanups X-Git-Tag: next-20120430~14^2~91 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=933df6599382aa41742210e4008ec550076254ee;p=karo-tx-linux.git staging: comedi: ni_tio_internal.h: checkpatch.pl cleanups * No braces for single statement blocks. Signed-off-by: W. Trevor King Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_tio_internal.h b/drivers/staging/comedi/drivers/ni_tio_internal.h index f9295ec25e70..5e00212aa022 100644 --- a/drivers/staging/comedi/drivers/ni_tio_internal.h +++ b/drivers/staging/comedi/drivers/ni_tio_internal.h @@ -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; }