Module: xenomai-3
Branch: next
Commit: 0cc7f4f2a0d91aca3569802ec72bbc1d5d5f5400
URL:    
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=0cc7f4f2a0d91aca3569802ec72bbc1d5d5f5400

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Jul 26 12:59:20 2015 +0200

utils/analogy: remove redundant mlockall()

---

 utils/analogy/cmd_read.c |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/utils/analogy/cmd_read.c b/utils/analogy/cmd_read.c
index 40c9638..a507801 100644
--- a/utils/analogy/cmd_read.c
+++ b/utils/analogy/cmd_read.c
@@ -423,10 +423,6 @@ int main(int argc, char *argv[])
        struct arguments args = {.argc = argc, .argv = argv};
        int ret;
 
-       ret = mlockall(MCL_CURRENT | MCL_FUTURE);
-       if (ret < 0)
-               exit_err("mlockall error (ret=%d)", errno);
-
        ret = pthread_setschedparam(pthread_self(), SCHED_FIFO, &param);
        if (ret)
                exit_err("pthread_setschedparam failed (ret=0x%x) ", ret);


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

Reply via email to