svn commit: r316969 - stable/11/sys/compat/linux
Dmitry Chagin
dchagin at FreeBSD.org
Sat Apr 15 15:32:24 UTC 2017
Author: dchagin
Date: Sat Apr 15 15:32:22 2017
New Revision: 316969
URL: https://svnweb.freebsd.org/changeset/base/316969
Log:
MFC r316395:
Remove excess tv_nsec test as this is done by linux_to_native_timespec().
Modified:
stable/11/sys/compat/linux/linux_futex.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/compat/linux/linux_futex.c
==============================================================================
--- stable/11/sys/compat/linux/linux_futex.c Sat Apr 15 15:31:28 2017 (r316968)
+++ stable/11/sys/compat/linux/linux_futex.c Sat Apr 15 15:32:22 2017 (r316969)
@@ -294,9 +294,6 @@ futex_copyin_timeout(int op, struct l_ti
error = linux_to_native_timespec(ts, <s);
if (error)
return (error);
- if (ts->tv_nsec < 0 || ts->tv_nsec >= 1000000000)
- return (EINVAL);
-
if (clockrt) {
nanotime(&kts);
timespecsub(ts, &kts);
More information about the svn-src-all
mailing list