staging: comedi: hwdrv_apci3120: else is not useful after return
The statement nested in an else after a return may be brought out one indent level, the else is useless. Signed-off-by: Chase Southwood <chase.southwood@gmail.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Cc: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8aeec82ffd
commit
bfc81c4a22
1 changed files with 2 additions and 2 deletions
|
@ -1217,8 +1217,8 @@ static int apci3120_ai_cmd(struct comedi_device *dev,
|
||||||
|
|
||||||
if (cmd->scan_begin_src == TRIG_FOLLOW)
|
if (cmd->scan_begin_src == TRIG_FOLLOW)
|
||||||
return apci3120_cyclic_ai(1, dev, s);
|
return apci3120_cyclic_ai(1, dev, s);
|
||||||
else /* TRIG_TIMER */
|
/* TRIG_TIMER */
|
||||||
return apci3120_cyclic_ai(2, dev, s);
|
return apci3120_cyclic_ai(2, dev, s);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue