Commit 0cc7f4f2 authored by Philippe Gerum's avatar Philippe Gerum

utils/analogy: remove redundant mlockall()

parent 8a19aeed
......@@ -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);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment