Commit bfc81c4a authored by Chase Southwood's avatar Chase Southwood Committed by Greg Kroah-Hartman
Browse files

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: default avatarChase Southwood <>
Reviewed-by: default avatarIan Abbott <>
Cc: H Hartley Sweeten <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 8aeec82f
......@@ -1217,8 +1217,8 @@ static int apci3120_ai_cmd(struct comedi_device *dev,
if (cmd->scan_begin_src == TRIG_FOLLOW)
return apci3120_cyclic_ai(1, dev, s);
else /* TRIG_TIMER */
return apci3120_cyclic_ai(2, dev, s);
return apci3120_cyclic_ai(2, dev, s);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment