[PATCH] staging: comedi: remove commented code
Gujulan Elango, Hari Prasath (H.)
hgujulan at visteon.com
Mon Jun 15 10:10:18 UTC 2015
From: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
This patch removes commented code.This was a checkpatch warning.
Signed-off-by: Hari Prasath Gujulan Elango <hgujulan at visteon.com>
---
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 146ab00..985d94b 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;
--
1.9.1
More information about the devel
mailing list