diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-12-07 17:37:44 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2003-12-07 17:37:44 +0000 |
| commit | e4b3851568d4077f7531b25ae3dcf929e4f3f98f (patch) | |
| tree | 0928a4eeae2f2f3e70ffbc0fe97a62b2abae1733 /sys/fs | |
| parent | 5c64c936ec8ad065dd7b333fa8618f0d6f3d12ea (diff) | |
Notes
Diffstat (limited to 'sys/fs')
| -rw-r--r-- | sys/fs/nwfs/nwfs_vfsops.c | 10 | ||||
| -rw-r--r-- | sys/fs/smbfs/smbfs_vfsops.c | 12 |
2 files changed, 0 insertions, 22 deletions
diff --git a/sys/fs/nwfs/nwfs_vfsops.c b/sys/fs/nwfs/nwfs_vfsops.c index 688b84d68d19..3eb0f915d7e8 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"); diff --git a/sys/fs/smbfs/smbfs_vfsops.c b/sys/fs/smbfs/smbfs_vfsops.c index 5a919c905e12..e4575ec8f731 100644 --- a/sys/fs/smbfs/smbfs_vfsops.c +++ b/sys/fs/smbfs/smbfs_vfsops.c @@ -330,18 +330,6 @@ smbfs_quotactl(mp, cmd, uid, arg, td) int smbfs_init(struct vfsconf *vfsp) { -#ifndef SMP - int name[2]; - int ncpu, error; - size_t olen, plen; - - 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: smbfs module compiled without SMP support."); -#endif - #ifdef SMBFS_USEZONE smbfsmount_zone = zinit("SMBFSMOUNT", sizeof(struct smbmount), 0, 0, 1); #endif |
