mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 06:03:36 -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:
parent
35c81aaa56
commit
933df65993
1 changed files with 2 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue