提交 3bc4cc77 编写于 作者: H Hari Prasath Gujulan Elango 提交者: Greg Kroah-Hartman

staging: comedi: remove commented code

This patch removes commented code.This was a checkpatch warning.
Signed-off-by: NHari Prasath Gujulan Elango <hgujulan@visteon.com>
Reviewed-by: NIan Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 30ef5c8b
......@@ -1085,11 +1085,6 @@ static int do_chaninfo_ioctl(struct comedi_device *dev,
if (put_user(x, it.rangelist + i))
return -EFAULT;
}
#if 0
if (copy_to_user(it.rangelist, s->range_type_list,
s->n_chan * sizeof(unsigned int)))
return -EFAULT;
#endif
}
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册