提交 091b4242 编写于 作者: S Samuel Richardson 提交者: Greg Kroah-Hartman

Staging: comedi: fixed brace coding style issue in ni_tio.c

This is a patch to the ni_tio.c file that fixes a brace warning found by
the checkpatch.pl tool
Signed-off-by: NSamuel Richardson <sam.j.richardson@gmail.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 7e27d6e7
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册