From: Hari Prasath Gujulan Elango Date: Mon, 15 Jun 2015 10:10:18 +0000 (+0000) Subject: staging: comedi: remove commented code X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3bc4cc7719f78b35d23c15ac377bcf9935f77d6c;p=linux-beck.git 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 --- 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;