Skip to content

Commit

Permalink
Staging: comedi: fixed brace coding style issue in ni_tio.c
Browse files Browse the repository at this point in the history
This is a patch to the ni_tio.c file that fixes a brace warning found by
the checkpatch.pl tool

Signed-off-by: Samuel Richardson <sam.j.richardson@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Samuel Richardson authored and Greg Kroah-Hartman committed Jun 17, 2010
1 parent 7e27d6e commit 091b424
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions drivers/staging/comedi/drivers/ni_tio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1688,11 +1688,10 @@ static unsigned ni_tio_next_load_register(struct ni_gpct *counter)
NITIO_Gxx_Status_Reg(counter->
counter_index));

if (bits & Gi_Next_Load_Source_Bit(counter->counter_index)) {
if (bits & Gi_Next_Load_Source_Bit(counter->counter_index))
return NITIO_Gi_LoadB_Reg(counter->counter_index);
} else {
else
return NITIO_Gi_LoadA_Reg(counter->counter_index);
}
}

int ni_tio_winsn(struct ni_gpct *counter, struct comedi_insn *insn,
Expand Down

0 comments on commit 091b424

Please sign in to comment.