diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-31 20:03:44 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2007-05-31 20:03:44 +0000 |
commit | 01f57107bc945b59e91358bcb322c60c46f4b419 (patch) | |
tree | 2bac14c6f2b58c55f9c6adcbce3bafd9403cdc37 /sys/nfs | |
parent | 891716f9dbe3fbea7e4f8f673931597fe480de1c (diff) |
zap nfs_cltpsock; Unused since NQNFS died.
ok beck@
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 4dde7e7572f..0a7bc87aed2 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.53 2007/05/31 03:01:12 thib Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.54 2007/05/31 20:03:43 thib Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -83,7 +83,7 @@ extern int nfs_numasync; extern int nfsrtton; extern struct nfsstats nfsstats; extern int nfsrvw_procrastinate; -struct nfssvc_sock *nfs_udpsock, *nfs_cltpsock; +struct nfssvc_sock *nfs_udpsock; int nuidhash_max = NFS_MAXUIDHASH; int nfsd_waiting = 0; #ifdef NFSSERVER @@ -647,12 +647,6 @@ nfsrv_init(terminating) bzero((caddr_t)nfs_udpsock, sizeof (struct nfssvc_sock)); TAILQ_INIT(&nfs_udpsock->ns_uidlruhead); TAILQ_INSERT_HEAD(&nfssvc_sockhead, nfs_udpsock, ns_chain); - - nfs_cltpsock = (struct nfssvc_sock *) - malloc(sizeof (struct nfssvc_sock), M_NFSSVC, M_WAITOK); - bzero((caddr_t)nfs_cltpsock, sizeof (struct nfssvc_sock)); - TAILQ_INIT(&nfs_cltpsock->ns_uidlruhead); - TAILQ_INSERT_TAIL(&nfssvc_sockhead, nfs_cltpsock, ns_chain); } /* |