Commit 6f0c6989 authored by Deepak R Varma's avatar Deepak R Varma Committed by Greg Kroah-Hartman

staging: comedi: ni_atmio16d: remove commented code blocks

Remove two if# 0 directive code blocks. Problem detected by
checkpatch script.
Signed-off-by: default avatarDeepak R Varma <mh12gx2825@gmail.com>
Link: https://lore.kernel.org/r/20200314174316.GA10615@deeUbuntuSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f80ac69d
......@@ -266,19 +266,9 @@ static int atmio16d_ai_cmdtest(struct comedi_device *dev,
if (cmd->scan_begin_src == TRIG_FOLLOW) {
/* internal trigger */
err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, 0);
} else {
#if 0
/* external trigger */
/* should be level/edge, hi/lo specification here */
err |= comedi_check_trigger_arg_is(&cmd->scan_begin_arg, 0);
#endif
}
err |= comedi_check_trigger_arg_min(&cmd->convert_arg, 10000);
#if 0
err |= comedi_check_trigger_arg_max(&cmd->convert_arg, SLOWEST_TIMER);
#endif
err |= comedi_check_trigger_arg_is(&cmd->scan_end_arg,
cmd->chanlist_len);
......
Markdown is supported
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