author | Edouard Tisserant <edouard.tisserant@gmail.com> |
Fri, 05 Oct 2018 18:01:39 +0200 | |
branch | stable-1.5 |
changeset 2721 | d3855a6b0a9f |
parent 2720 | 4645c990fd79 |
child 2722 | 5e5bec5ee9c1 |
master/rtdm.c | file | annotate | diff | comparison | revisions |
--- a/master/rtdm.c Fri Oct 05 17:45:44 2018 +0200 +++ b/master/rtdm.c Fri Oct 05 18:01:39 2018 +0200 @@ -279,8 +279,6 @@ size_t len; ec_ioctl_context_t *ctx = (ec_ioctl_context_t *) rtdm_fd_to_private(fd); len = vma->vm_end - vma->vm_start; - if (ctx->process_data_size != len) - return -EINVAL; return rtdm_mmap_kmem(vma, (void *)ctx->process_data); }