Module: xenomai-abe
Branch: analogy
Commit: 94eb3f170de4734cfdf9ec3193f820e1179a65c2
URL:    
http://git.xenomai.org/?p=xenomai-abe.git;a=commit;h=94eb3f170de4734cfdf9ec3193f820e1179a65c2

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

Reply via email to