From 52c39a67f6951f85a0153328d55733d068d4123b Mon Sep 17 00:00:00 2001 From: Bret Lambert Date: Fri, 8 Aug 2008 20:44:39 +0000 Subject: After beck@ changed the way nfsiod's are notified of work, the nfs_iodwant array became unused. Garbage collect and free up a few bytes. ok thib@ --- sys/nfs/nfs_subs.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'sys/nfs/nfs_subs.c') diff --git a/sys/nfs/nfs_subs.c b/sys/nfs/nfs_subs.c index f276fbbed0e..ed02854851b 100644 --- a/sys/nfs/nfs_subs.c +++ b/sys/nfs/nfs_subs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_subs.c,v 1.84 2008/06/15 04:03:40 thib Exp $ */ +/* $OpenBSD: nfs_subs.c,v 1.85 2008/08/08 20:44:38 blambert Exp $ */ /* $NetBSD: nfs_subs.c,v 1.27.4.3 1996/07/08 20:34:24 jtc Exp $ */ /* @@ -514,7 +514,6 @@ static short *nfsrv_v3errmap[] = { nfsv3err_commit, }; -extern struct proc *nfs_iodwant[NFS_MAXASYNCDAEMON]; extern struct nfsrtt nfsrtt; struct pool nfsreqpl; @@ -954,11 +953,6 @@ int nfs_vfs_init(vfsp) struct vfsconf *vfsp; { - int i; - - /* Ensure async daemons disabled */ - for (i = 0; i < NFS_MAXASYNCDAEMON; i++) - nfs_iodwant[i] = (struct proc *)0; TAILQ_INIT(&nfs_bufq); nfs_nhinit(); /* Init the nfsnode table */ -- cgit v1.2.3