diff options
author | phk <phk@FreeBSD.org> | 2002-04-28 18:29:44 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-04-28 18:29:44 +0000 |
commit | 5549556e4f3cb7224049e91aeaae30fcc213820e (patch) | |
tree | 35c029ddeee2709abd9ad7ff9d1c7f6d1a5ed821 /sys | |
parent | 307f787e5a7fbe03dca1a971912122c52cc582c8 (diff) | |
download | FreeBSD-src-5549556e4f3cb7224049e91aeaae30fcc213820e.zip FreeBSD-src-5549556e4f3cb7224049e91aeaae30fcc213820e.tar.gz |
We don't need the arp kludge any more.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/nfsclient/bootp_subr.c | 6 | ||||
-rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c index 5de53ef..bdd51ee 100644 --- a/sys/nfsclient/bootp_subr.c +++ b/sys/nfsclient/bootp_subr.c @@ -1658,12 +1658,6 @@ bootpc_init(void) if (nfs_diskless_valid != 0) return; - /* - * Wait until arp entries can be handled. - */ - while (time_second == 0) - tsleep(&time_second, PZERO + 8, "arpkludge", 10); - gctx = malloc(sizeof(*gctx), M_TEMP, M_WAITOK); if (gctx == NULL) panic("Failed to allocate bootp global context structure"); diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index 8415661..0f84765 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -389,13 +389,6 @@ nfs_mountroot(struct mount *mp, struct thread *td) bootpc_init(); /* use bootp to get nfs_diskless filled in */ #endif - /* - * XXX time must be non-zero when we init the interface or else - * the arp code will wedge... - */ - while (time_second == 0) - tsleep(&time_second, PZERO+8, "arpkludge", 10); - if (nfs_diskless_valid==1) nfs_convert_diskless(); |