提交 933df659 编写于 作者: W W. Trevor King 提交者: Greg Kroah-Hartman

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

* No braces for single statement blocks.
Signed-off-by: NW. Trevor King <wking@tremily.us>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册