Commit 933df659 authored by W. Trevor King's avatar W. Trevor King Committed by Greg Kroah-Hartman

staging: comedi: ni_tio_internal.h: checkpatch.pl cleanups

* No braces for single statement blocks.
Signed-off-by: default avatarW. Trevor King <wking@tremily.us>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 35c81aaa
...@@ -694,11 +694,10 @@ static inline unsigned Gi_Gate_Interrupt_Enable_Bit(unsigned counter_index) ...@@ -694,11 +694,10 @@ static inline unsigned Gi_Gate_Interrupt_Enable_Bit(unsigned counter_index)
{ {
unsigned bit; unsigned bit;
if (counter_index % 2) { if (counter_index % 2)
bit = G1_Gate_Interrupt_Enable_Bit; bit = G1_Gate_Interrupt_Enable_Bit;
} else { else
bit = G0_Gate_Interrupt_Enable_Bit; bit = G0_Gate_Interrupt_Enable_Bit;
}
return bit; return bit;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment