diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2008-08-08 20:44:39 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2008-08-08 20:44:39 +0000 |
commit | 52c39a67f6951f85a0153328d55733d068d4123b (patch) | |
tree | 234106f7a194f5a3dd2ce56e208811d0f91cfa95 /sys/nfs/nfs_subs.c | |
parent | c5849f13e6a34f2ea4a11b5b172e0b0a40e4090f (diff) |
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@
Diffstat (limited to 'sys/nfs/nfs_subs.c')
-rw-r--r-- | sys/nfs/nfs_subs.c | 8 |
1 files changed, 1 insertions, 7 deletions
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 */ |