mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-05 02:21:52 +09:00
staging: comedi: ni_atmio16d: remove commented code blocks
Remove two if# 0 directive code blocks. Problem detected by checkpatch script. Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com> Link: https://lore.kernel.org/r/20200314174316.GA10615@deeUbuntu Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
f80ac69d32
commit
6f0c6989d7
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user