From 3bc4cc7719f78b35d23c15ac377bcf9935f77d6c Mon Sep 17 00:00:00 2001 From: Hari Prasath Gujulan Elango Date: Mon, 15 Jun 2015 10:10:18 +0000 Subject: [PATCH] staging: comedi: remove commented code This patch removes commented code.This was a checkpatch warning. Signed-off-by: Hari Prasath Gujulan Elango Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/comedi_fops.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c index 146ab009d5f7..985d94b6cbfd 100644 --- a/drivers/staging/comedi/comedi_fops.c +++ b/drivers/staging/comedi/comedi_fops.c @@ -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; -- 2.34.1