mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 13:29:17 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
35c81aaa56
commit
933df65993
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user