summaryrefslogtreecommitdiffstats
path: root/sys/fs/nwfs
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-12-07 17:37:44 +0000
committerdes <des@FreeBSD.org>2003-12-07 17:37:44 +0000
commit04b082fdc54d3991eec0f49a7d8bd43cc63fb5a4 (patch)
tree0928a4eeae2f2f3e70ffbc0fe97a62b2abae1733 /sys/fs/nwfs
parent358efa1f06449e47ddfbda5eb9cb9a61c8c7e35e (diff)
downloadFreeBSD-src-04b082fdc54d3991eec0f49a7d8bd43cc63fb5a4.zip
FreeBSD-src-04b082fdc54d3991eec0f49a7d8bd43cc63fb5a4.tar.gz
Remove useless SMP check code.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r--sys/fs/nwfs/nwfs_vfsops.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c
index 688b84d..3eb0f91 100644
--- a/sys/fs/nwfs/nwfs_vfsops.c
+++ b/sys/fs/nwfs/nwfs_vfsops.c
@@ -383,16 +383,6 @@ nwfs_quotactl(mp, cmd, uid, arg, td)
int
nwfs_init(struct vfsconf *vfsp)
{
-#ifndef SMP
- int name[2];
- int olen, ncpu, plen, error;
-
- name[0] = CTL_HW;
- name[1] = HW_NCPU;
- error = kernel_sysctl(curthread, name, 2, &ncpu, &olen, NULL, 0, &plen);
- if (error == 0 && ncpu > 1)
- printf("warning: nwfs module compiled without SMP support.");
-#endif
nwfs_hash_init();
nwfs_pbuf_freecnt = nswbuf / 2 + 1;
NCPVODEBUG("always happy to load!\n");
OpenPOWER on IntegriCloud