Skip to content

Commit

Permalink
staging: comedi: ni_tio_internal.h: checkpatch.pl cleanups
Browse files Browse the repository at this point in the history
* No braces for single statement blocks.

Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
W. Trevor King authored and Greg Kroah-Hartman committed Apr 20, 2012
1 parent 35c81aa commit 933df65
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/comedi/drivers/ni_tio_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 933df65

Please sign in to comment.