From: H Hartley Sweeten Date: Mon, 21 Jul 2014 18:01:27 +0000 (-0700) Subject: staging: comedi: comedidev.h: remove unused callbacks from comedi_subdevice X-Git-Tag: v5.15~17495^2~346 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=57a4f4cf409261b0330df909ad6fdb85cb096467;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- 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,