Module: xenomai-2.5 Branch: master Commit: 8f71f45062332d9e8e9ead64b458f25c243dc4f6 URL: http://git.xenomai.org/?p=xenomai-2.5.git;a=commit;h=8f71f45062332d9e8e9ead64b458f25c243dc4f6
Author: Alexis Berlemont <alexis.berlem...@gmail.com> Date: Fri Jun 4 00:06:49 2010 +0200 analogy: remove useless functions in the subdevice part --- ksrc/drivers/analogy/subdevice.c | 15 --------------- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/ksrc/drivers/analogy/subdevice.c b/ksrc/drivers/analogy/subdevice.c index 506b742..1278081 100644 --- a/ksrc/drivers/analogy/subdevice.c +++ b/ksrc/drivers/analogy/subdevice.c @@ -180,21 +180,6 @@ a4l_subd_t *a4l_get_subd(a4l_dev_t *dev, int idx) return subd; } -int a4l_reserve_subd(a4l_subd_t *subd) -{ - if (test_and_set_bit(A4L_SUBD_BUSY, &subd->status)) { - __a4l_err("a4l_reserve_subd: subdevice currently busy\n"); - return -EBUSY; - } - - return 0; -} - -void a4l_release_subd(a4l_subd_t *subd) -{ - clear_bit(A4L_SUBD_BUSY, &subd->status)); -} - /* --- IOCTL / FOPS functions --- */ int a4l_ioctl_subdinfo(a4l_cxt_t * cxt, void *arg) _______________________________________________ Xenomai-git mailing list Xenomai-git@gna.org https://mail.gna.org/listinfo/xenomai-git