summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2014-07-21 11:01:27 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-07-22 15:33:23 -0700
commit57a4f4cf409261b0330df909ad6fdb85cb096467 (patch)
treed81d2c3d7215789c42b987f706c71cfc02c3492b /drivers/staging
parent90ac0764e01f310588e578d26f554cb0008b5091 (diff)
downloadop-kernel-dev-57a4f4cf409261b0330df909ad6fdb85cb096467.zip
op-kernel-dev-57a4f4cf409261b0330df909ad6fdb85cb096467.tar.gz
staging: comedi: comedidev.h: remove unused callbacks from comedi_subdevice
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/comedi/comedidev.h3
1 files changed, 0 insertions, 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,
OpenPOWER on IntegriCloud