diff options
author | W. Trevor King <wking@tremily.us> | 2012-04-19 01:30:28 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-04-20 15:29:54 (GMT) |
commit | 933df6599382aa41742210e4008ec550076254ee (patch) | |
tree | c01017616f77c5fff7dd3d9e02ae84e4b3b1a766 | |
parent | 35c81aaa56e3e1a8eb8f86837889ed979085b1bc (diff) | |
download | linux-fsl-qoriq-933df6599382aa41742210e4008ec550076254ee.tar.xz |
staging: comedi: ni_tio_internal.h: checkpatch.pl cleanups
* No braces for single statement blocks.
Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/comedi/drivers/ni_tio_internal.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/staging/comedi/drivers/ni_tio_internal.h b/drivers/staging/comedi/drivers/ni_tio_internal.h index f9295ec..5e00212 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; } |