diff options
| author | 2017-08-11 21:24:19 +0000 | |
|---|---|---|
| committer | 2017-08-11 21:24:19 +0000 | |
| commit | aa28b9a6d024fc39940a8bf6e59c28dbaafc6950 (patch) | |
| tree | ad38cdfb637269384ad7ff4acea0c6e8e71932a7 /sys/nfs/nfs_socket.c | |
| parent | Be consistent with goto labels, failure flag and use of FAIL macro. (diff) | |
| download | wireguard-openbsd-aa28b9a6d024fc39940a8bf6e59c28dbaafc6950.tar.xz wireguard-openbsd-aa28b9a6d024fc39940a8bf6e59c28dbaafc6950.zip | |
Remove NET_LOCK()'s argument.
Tested by Hrvoje Popovski, ok bluhm@
Diffstat (limited to 'sys/nfs/nfs_socket.c')
| -rw-r--r-- | sys/nfs/nfs_socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c index 5ed5a9ed26a..9924a5e5edc 100644 --- a/sys/nfs/nfs_socket.c +++ b/sys/nfs/nfs_socket.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_socket.c,v 1.122 2017/08/10 19:20:43 mpi Exp $ */ +/* $OpenBSD: nfs_socket.c,v 1.123 2017/08/11 21:24:20 mpi Exp $ */ /* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */ /* @@ -1137,9 +1137,9 @@ nfs_timer(void *arg) struct nfsreq *rep; struct mbuf *m; struct socket *so; - int timeo, s, error; + int timeo, error; - NET_LOCK(s); + NET_LOCK(); TAILQ_FOREACH(rep, &nmp->nm_reqsq, r_chain) { if (rep->r_mrep || (rep->r_flags & R_SOFTTERM)) continue; @@ -1222,7 +1222,7 @@ nfs_timer(void *arg) } } } - NET_UNLOCK(s); + NET_UNLOCK(); timeout_add(&nmp->nm_rtimeout, nfs_ticks); } |
