mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-21 09:13:37 +00:00
Remove proc locking, it's not needed after r210132.
This commit is contained in:
parent
b29d02f258
commit
49e134dfa6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=210197
|
@ -64,12 +64,8 @@ svr4_sys_poll(td, uap)
|
|||
int idx = 0, cerr;
|
||||
u_long siz;
|
||||
|
||||
PROC_LOCK(td->td_proc);
|
||||
if (uap->nfds > maxfilesperproc && uap->nfds > FD_SETSIZE) {
|
||||
PROC_UNLOCK(td->td_proc);
|
||||
if (uap->nfds > maxfilesperproc && uap->nfds > FD_SETSIZE)
|
||||
return (EINVAL);
|
||||
}
|
||||
PROC_UNLOCK(td->td_proc);
|
||||
|
||||
pa.fds = uap->fds;
|
||||
pa.nfds = uap->nfds;
|
||||
|
|
Loading…
Reference in a new issue