The 'do_lock' and 'do_unlock' callbacks are not used be any of the comedi
drivers or the comedi core. Just remove them.

Signed-off-by: H Hartley Sweeten <hswee...@visionengravers.com>
Cc: Ian Abbott <abbo...@mev.co.uk>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/comedi/comedidev.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/staging/comedi/comedidev.h 
b/drivers/staging/comedi/comedidev.h
index ec2be35..6bf5616 100644
--- a/drivers/staging/comedi/comedidev.h
+++ b/drivers/staging/comedi/comedidev.h
@@ -75,9 +75,6 @@ struct comedi_subdevice {
                          struct comedi_cmd *);
        int (*poll)(struct comedi_device *, struct comedi_subdevice *);
        int (*cancel)(struct comedi_device *, struct comedi_subdevice *);
-       /* int (*do_lock)(struct comedi_device *, struct comedi_subdevice *); */
-       /* int (*do_unlock)(struct comedi_device *, \
-                       struct comedi_subdevice *); */
 
        /* called when the buffer changes */
        int (*buf_change)(struct comedi_device *dev,
-- 
1.9.3

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to