staging: comedi: comedidev.h: remove unused callbacks from comedi_subdevice
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 21 Jul 2014 18:01:27 +0000 (11:01 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jul 2014 22:33:23 +0000 (15:33 -0700)
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 <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/comedidev.h

index ec2be35..6bf5616 100644 (file)
@@ -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,