Module: xenomai-forge
Branch: next
Commit: 82845c6426c37711013fe1d3c7e14d14e22351cd
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=82845c6426c37711013fe1d3c7e14d14e22351cd

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Aug 14 15:02:22 2014 +0200

drivers/udd: drop useless context data

---

 kernel/drivers/udd/udd.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/drivers/udd/udd.c b/kernel/drivers/udd/udd.c
index b652016..53c61f8 100644
--- a/kernel/drivers/udd/udd.c
+++ b/kernel/drivers/udd/udd.c
@@ -26,7 +26,6 @@
 #include <rtdm/udd.h>
 
 struct udd_context {
-       struct udd_device *device;
        u32 event_count;
 };
 
@@ -44,7 +43,6 @@ static int udd_open(struct rtdm_fd *fd, int oflags)
        }
 
        context = rtdm_fd_to_private(fd);
-       context->device = udd;
        context->event_count = 0;
 
        return 0;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to